update documentation to DocBook 5.0 (#940)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Sun, 30 Oct 2022 17:17:28 +0000 (11:17 -0600)
committerGitHub <noreply@github.com>
Sun, 30 Oct 2022 17:17:28 +0000 (11:17 -0600)
* convert to docbook 5.0.

* get jing running.

* use uri to find docbook rng.

* brew install jing-trang.  use oasis for rngs.

* add insertion markers to autogen doc files.

* use db5-upgrade.xsl from docbook 5.1 release.

we are still converting to docbook 5.0.

this fixes issues with missing Appendix labels
(e.g. "Appendix A. Supported Datums" was "Suppored Datums")
and Glossary Indexes (e.g. "G" was omitted)
in the html output.

unfortunately it causes issues with translating ulinks inside term
elements.  We patch the dropped links back in.

* make sure makedoc is using utf8 for files.

207 files changed:
.github/workflows/macos.yml
tools/Dockerfile_focal
tools/Dockerfile_jammy
tools/make_gpsbabel_html.sh
tools/make_gpsbabel_org.sh
tools/make_gpsbabel_pdf.sh
xmldoc/babelmain.xsl
xmldoc/babelpdf.xsl
xmldoc/build.patch [new file with mode: 0644]
xmldoc/chapters/build.xml
xmldoc/chapters/datums.xml
xmldoc/chapters/filters.xml
xmldoc/chapters/formats.xml
xmldoc/chapters/garmin_icons.xml
xmldoc/chapters/glossary.xml
xmldoc/chapters/preface.xml
xmldoc/chapters/styles.xml
xmldoc/chapters/use.xml
xmldoc/convertdoc [new file with mode: 0755]
xmldoc/filters/arc.xml
xmldoc/filters/bend.xml
xmldoc/filters/discard.xml
xmldoc/filters/duplicate.xml
xmldoc/filters/height.xml
xmldoc/filters/interpolate.xml
xmldoc/filters/nuketypes.xml
xmldoc/filters/options/arc-distance.xml
xmldoc/filters/options/arc-exclude.xml
xmldoc/filters/options/arc-file.xml
xmldoc/filters/options/arc-points.xml
xmldoc/filters/options/bend-distance.xml
xmldoc/filters/options/bend-minangle.xml
xmldoc/filters/options/discard-elemax.xml
xmldoc/filters/options/discard-hdop.xml
xmldoc/filters/options/discard-matchcmt.xml
xmldoc/filters/options/discard-matchname.xml
xmldoc/filters/options/discard-sat.xml
xmldoc/filters/options/discard-vdop.xml
xmldoc/filters/options/duplicate-all.xml
xmldoc/filters/options/duplicate-correct.xml
xmldoc/filters/options/duplicate-location.xml
xmldoc/filters/options/duplicate-shortname.xml
xmldoc/filters/options/interpolate-distance.xml
xmldoc/filters/options/interpolate-time.xml
xmldoc/filters/options/nuketypes-routes.xml
xmldoc/filters/options/nuketypes-tracks.xml
xmldoc/filters/options/nuketypes-waypoints.xml
xmldoc/filters/options/polygon-exclude.xml
xmldoc/filters/options/polygon-file.xml
xmldoc/filters/options/position-all.xml
xmldoc/filters/options/position-distance.xml
xmldoc/filters/options/radius-asroute.xml
xmldoc/filters/options/radius-maxcount.xml
xmldoc/filters/options/radius-nosort.xml
xmldoc/filters/options/simplify-crosstrack.xml
xmldoc/filters/options/stack-replace.xml
xmldoc/filters/options/stack-swap.xml
xmldoc/filters/options/track-course.xml
xmldoc/filters/options/track-discard.xml
xmldoc/filters/options/track-faketime.xml
xmldoc/filters/options/track-fix.xml
xmldoc/filters/options/track-merge.xml
xmldoc/filters/options/track-move.xml
xmldoc/filters/options/track-name.xml
xmldoc/filters/options/track-sdistance.xml
xmldoc/filters/options/track-start.xml
xmldoc/filters/options/track-stop.xml
xmldoc/filters/options/transform-del.xml
xmldoc/filters/options/transform-rptdigits.xml
xmldoc/filters/options/transform-rptname.xml
xmldoc/filters/options/transform-rte.xml
xmldoc/filters/options/transform-trk.xml
xmldoc/filters/options/transform-wpt.xml
xmldoc/filters/polygon.xml
xmldoc/filters/position.xml
xmldoc/filters/radius.xml
xmldoc/filters/resample.xml
xmldoc/filters/reverse.xml
xmldoc/filters/simplify.xml
xmldoc/filters/sort.xml
xmldoc/filters/stack.xml
xmldoc/filters/track.xml
xmldoc/formats/baroiq.xml
xmldoc/formats/cambridge.xml
xmldoc/formats/csv.xml
xmldoc/formats/custom.xml
xmldoc/formats/dg-100.xml
xmldoc/formats/dg-200.xml
xmldoc/formats/exif.xml
xmldoc/formats/garmin.xml
xmldoc/formats/garmin301.xml
xmldoc/formats/garmin_fit.xml
xmldoc/formats/garmin_gpi.xml
xmldoc/formats/garmin_poi.xml
xmldoc/formats/garmin_txt.xml
xmldoc/formats/gdb.xml
xmldoc/formats/geojson.xml
xmldoc/formats/globalsat.xml
xmldoc/formats/gpsdrive.xml
xmldoc/formats/gpsdrivetrack.xml
xmldoc/formats/gpssim.xml
xmldoc/formats/gpx.xml
xmldoc/formats/gtm.xml
xmldoc/formats/gtrnctr.xml
xmldoc/formats/holux.xml
xmldoc/formats/html.xml
xmldoc/formats/humminbird.xml
xmldoc/formats/iblue747.xml
xmldoc/formats/iblue757.xml
xmldoc/formats/igc.xml
xmldoc/formats/kml.xml
xmldoc/formats/lowranceusr.xml
xmldoc/formats/m241-bin.xml
xmldoc/formats/m241.xml
xmldoc/formats/magellan.xml
xmldoc/formats/magellan1.xml
xmldoc/formats/magellanx.xml
xmldoc/formats/miniHomer.xml
xmldoc/formats/mtk-bin.xml
xmldoc/formats/mtk.xml
xmldoc/formats/navilink.xml
xmldoc/formats/nmea.xml
xmldoc/formats/openoffice.xml
xmldoc/formats/options/exif-filename.xml
xmldoc/formats/options/exif-name.xml
xmldoc/formats/options/garmin-bitscategory.xml
xmldoc/formats/options/garmin-deficon.xml
xmldoc/formats/options/garmin_gpi-alerts.xml
xmldoc/formats/options/garmin_gpi-languagecode.xml
xmldoc/formats/options/garmin_gpi-notes.xml
xmldoc/formats/options/garmin_gpi-proximity.xml
xmldoc/formats/options/garmin_gpi-speed.xml
xmldoc/formats/options/garmin_gpi-unique.xml
xmldoc/formats/options/garmin_gpi-units.xml
xmldoc/formats/options/garmin_txt-datum.xml
xmldoc/formats/options/garmin_txt-grid.xml
xmldoc/formats/options/gdb-bitscategory.xml
xmldoc/formats/options/gdb-dropwpt.xml
xmldoc/formats/options/gdb-roadbook.xml
xmldoc/formats/options/gdb-via.xml
xmldoc/formats/options/geo-deficon.xml
xmldoc/formats/options/geo-nuke_placer.xml
xmldoc/formats/options/globalsat-showlist.xml
xmldoc/formats/options/globalsat-track.xml
xmldoc/formats/options/gpx-logpoint.xml
xmldoc/formats/options/gpx-urlbase.xml
xmldoc/formats/options/igc-timeadj.xml
xmldoc/formats/options/kml-line_color.xml
xmldoc/formats/options/kml-points.xml
xmldoc/formats/options/m241-erase.xml
xmldoc/formats/options/miniHomer-Bar.xml
xmldoc/formats/options/miniHomer-Boat.xml
xmldoc/formats/options/miniHomer-Car.xml
xmldoc/formats/options/miniHomer-Heart.xml
xmldoc/formats/options/miniHomer-Home.xml
xmldoc/formats/options/miniHomer-erase.xml
xmldoc/formats/options/miniHomer-first-sector.xml
xmldoc/formats/options/miniHomer-initbaud.xml
xmldoc/formats/options/miniHomer-read-at-once.xml
xmldoc/formats/options/nmea-date.xml
xmldoc/formats/options/nmea-gisteq.xml
xmldoc/formats/options/nmea-gpgsa.xml
xmldoc/formats/options/nmea-gprmc.xml
xmldoc/formats/options/nmea-gpvtg.xml
xmldoc/formats/options/nmea-pause.xml
xmldoc/formats/options/nmea-snlen.xml
xmldoc/formats/options/osm-tag.xml
xmldoc/formats/options/osm-tagnd.xml
xmldoc/formats/options/ozi-altunit.xml
xmldoc/formats/options/skytraq-configlog.xml
xmldoc/formats/options/skytraq-first-sector.xml
xmldoc/formats/options/skytraq-gps-utc-offset.xml
xmldoc/formats/options/skytraq-gps-week-rollover.xml
xmldoc/formats/options/skytraq-read-at-once.xml
xmldoc/formats/options/skytraq-targetlocation.xml
xmldoc/formats/options/subrip-format.xml
xmldoc/formats/options/text-splitoutput.xml
xmldoc/formats/options/tpg-datum.xml
xmldoc/formats/options/unicsv-datum.xml
xmldoc/formats/options/unicsv-fields.xml
xmldoc/formats/options/unicsv-filename.xml
xmldoc/formats/options/unicsv-format.xml
xmldoc/formats/options/unicsv-grid.xml
xmldoc/formats/options/vcard-encrypt.xml
xmldoc/formats/options/xcsv-datum.xml
xmldoc/formats/options/xcsv-snlen.xml
xmldoc/formats/options/xcsv-snunique.xml
xmldoc/formats/options/xcsv-snupper.xml
xmldoc/formats/options/xcsv-style.xml
xmldoc/formats/osm.xml
xmldoc/formats/sbn.xml
xmldoc/formats/skytraq.xml
xmldoc/formats/tabsep.xml
xmldoc/formats/text.xml
xmldoc/formats/tpg.xml
xmldoc/formats/tpo2.xml
xmldoc/formats/tpo3.xml
xmldoc/formats/unicsv.xml
xmldoc/formats/v900.xml
xmldoc/formats/vcard.xml
xmldoc/formats/wbt-bin.xml
xmldoc/formats/wbt-tk1.xml
xmldoc/formats/wbt.xml
xmldoc/formats/xcsv.xml
xmldoc/makedoc
xmldoc/readme.xml
xmldoc/tmissue.xsl [new file with mode: 0644]

index bf969be85dac181c69464faf639b279246292d73..d734aac9a963256686af5ff7a80c29eb73a90823 100644 (file)
@@ -61,6 +61,7 @@ jobs:
         brew update
         brew install ninja
         brew install docbook docbook-xsl fop gnu-sed
+        brew install jing-trang
 
     - name: Script
       env:
index 11feada9b1e46af8d99d358234def42fbc5eaf8f..c3ec825534805372a8ee6c285ad0503f3e1b2e26 100644 (file)
@@ -41,7 +41,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
     fop \
     xsltproc \
     docbook-xml \
+    docbook5-xml \
     docbook-xsl \
+    docbook-xsl-ns \
+    libavalon-framework-java \
+    jing \
  && rm -rf /var/lib/apt/lists/*
 
 # pkgs with libraries needed by gpsbabel
index e1ac6f8f52b16ce3a3fa165e2a502424943eaaef..62214cf289016e07ec73ca8dde073fc3c459f837 100644 (file)
@@ -47,7 +47,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
     fop \
     xsltproc \
     docbook-xml \
+    docbook5-xml \
     docbook-xsl \
+    docbook-xsl-ns \
+    libavalon-framework-java \
+    jing \
  && rm -rf /var/lib/apt/lists/*
 
 # pkgs with libraries needed by gpsbabel
index 4f4e664251d09745d7b107e0798ae9a88ac7bb35..e0e9c802d7f137b5697d79aec3996ef086f48a6f 100755 (executable)
@@ -2,6 +2,7 @@
 set -ex
 
 perl xmldoc/makedoc
+jing http://docs.oasis-open.org/docbook/rng/5.0/docbook.rng xmldoc/readme.xml
 xsltproc \
   --output gpsbabel.html \
   --stringparam toc.section.depth "1" \
@@ -9,5 +10,5 @@ xsltproc \
   --stringparam make.clean.html "1" \
   --stringparam html.valid.html "1" \
   --stringparam html.stylesheet "https://www.gpsbabel.org/style3.css" \
-  http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \
+  http://docbook.sourceforge.net/release/xsl-ns/current/xhtml/docbook.xsl \
   xmldoc/readme.xml
index a49d9cbf64e309cb6df3ed32716a017f27ec4cb5..2474d7df19980fcc788dc14ab05a013659d60eb4 100755 (executable)
@@ -6,7 +6,7 @@ docversion=$2
 
 mkdir -p "${web}/htmldoc-${docversion}"
 perl xmldoc/makedoc
-xmllint --noout --valid xmldoc/readme.xml #valid and well-formed
+jing http://docs.oasis-open.org/docbook/rng/5.0/docbook.rng xmldoc/readme.xml
 xsltproc \
   --stringparam base.dir "${web}/htmldoc-${docversion}/" \
   --stringparam root.filename "index" \
index d3a7316faf0d4def53b905fd84334bc13c9b517a..bdd57abc2e29c978afe502f62996a5a497200b57 100755 (executable)
@@ -2,6 +2,6 @@
 set -ex
 
 perl xmldoc/makedoc
-xmllint --noout --valid xmldoc/readme.xml #valid and well-formed
+jing http://docs.oasis-open.org/docbook/rng/5.0/docbook.rng xmldoc/readme.xml
 xsltproc -o gpsbabel.fo xmldoc/babelpdf.xsl xmldoc/readme.xml
 HOME=. fop -q -fo gpsbabel.fo -pdf gpsbabel.pdf
index cdac5934f560d783931275551dc3050a1478943c..60eaa3322cb6c8de4eb59d93973fb53ce5494c41 100644 (file)
@@ -4,7 +4,7 @@
                 exclude-result-prefixes="exsl">
 
 
-<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
+<xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/xhtml/chunk.xsl"/>
 
 <xsl:param name="use.id.as.filename">1</xsl:param>
 <xsl:param name="chunk.first.sections">1</xsl:param>
index 4d7125bd522b379c5723cb651e270b122497513c..232da9d79452be0d282efee97635cafae0a04f27 100644 (file)
@@ -1,11 +1,12 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:fo="http://www.w3.org/1999/XSL/Format"
                 xmlns:exsl="http://exslt.org/common"
+    xmlns:db="http://docbook.org/ns/docbook"
                version="1.0"
                 exclude-result-prefixes="exsl">
 
 
-<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
+<xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/docbook.xsl"/>
 
 <!-- turn on extensions for newer versions of fop.  In particular, this makes
      the XSL generate an fo bookmark-tree, which fop translates into bookmarks
 
 <!-- This template formats userinput as a block-level element and adds the
      background and border we use in the HTML doc, for consistency.  RLP -->
-<xsl:template match="userinput">
+<xsl:template match="db:userinput">
   <fo:block background-color="#E5E9EB" padding="4pt"
                break-after="auto" border="1pt dashed #000000">
     <xsl:call-template name="inline.boldmonoseq"/>
   </fo:block>
 </xsl:template>
 <!-- Sometimes we use userinput and sometimes screen. Format both. -->
-<xsl:template match="screen">
+<xsl:template match="db:screen">
   <fo:block background-color="#e5E9EB" padding="4pt"
                break-after="auto" border="1pt dashed #000000">
     <xsl:call-template name="inline.boldmonoseq"/>
@@ -31,7 +32,7 @@
 <!-- This template is used to get rid of a lot of warnings we were getting
      from fop due to the fact that it doesn't support table-layout="auto".
      Auto is apparently the default if no table layout is specified. RLP -->
-<xsl:template match="simplelist">
+<xsl:template match="db:simplelist">
   <!-- with no type specified, the default is 'vert' -->
   <xsl:variable name="explicit.table.width">
     <xsl:call-template name="dbfo-attribute">
diff --git a/xmldoc/build.patch b/xmldoc/build.patch
new file mode 100644 (file)
index 0000000..e3ba300
--- /dev/null
@@ -0,0 +1,20 @@
+--- chapters/build.xml.new     2022-10-27 09:44:25.567011354 -0600
++++ chapters/build.xml 2022-10-27 09:49:05.876956001 -0600
+@@ -30,7 +30,7 @@
+     <variablelist>
+       <varlistentry>
+         <term>
+-          Qt
++          <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qt-project.org">Qt</link>
+         </term>
+         <listitem>
+           <para>
+@@ -45,7 +45,7 @@
+       </varlistentry>
+       <varlistentry>
+         <term>
+-          libusb 1.0
++          <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://libusb.sourceforge.net">libusb 1.0</link>
+         </term>
+         <listitem>
+           <para>
index f0a6ee47158a0533f6399354c74fc7083969f905..84348c41c6e3c05cccfb9d367af65f7a24fd939e 100644 (file)
@@ -1,19 +1,19 @@
-<chapter id="Getting_and_Building">
+<chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="Getting_and_Building">
   <title>Getting or Building GPSBabel</title>
-  <sectid="Download">
+  <section xml:id="Download">
     <title>Downloading - the easy way.</title>
     <para>
 GPSBabel is distributed "ready to run" on most common
 operating systems via the
-<ulink url="https://www.gpsbabel.org/download.html">download page</ulink>.
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.gpsbabel.org/download.html">download page</link>.
 </para>
     <para> As GPSBabel runs on a wide variety of operating systems,
 be sure to visit the
-<ulink url="https://www.gpsbabel.org/osnotes.html">OS-Specific notes</ulink> for
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.gpsbabel.org/osnotes.html">OS-Specific notes</link> for
 additional information.
 </para>
-  </sect1>
-  <sectid="Source">
+  </section>
+  <section xml:id="Source">
     <title>Building from source.</title>
     <para>
 For operating systems where no binary is provided, or if
@@ -24,18 +24,18 @@ Less frequently, someone will build on FreeBSD, OpenBSD, Solaris,
 etc.  Clang/LLVM, GNU C++, and MSVC are regularly exercised via automation.
 </para>
     <para>
-You can grab a release from the <ulink url="https://www.gpsbabel.org/download.html">GPSBabel download page</ulink>, but if you're going to be doing any development, you'll find that working from the <ulink url="https://github.com/gpsbabel/gpsbabel">GPSBabel Github repo</ulink> is easier. Checkouts via Git, HTTPS, SSH, and Subversion are supported.
+You can grab a release from the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.gpsbabel.org/download.html">GPSBabel download page</link>, but if you're going to be doing any development, you'll find that working from the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://github.com/gpsbabel/gpsbabel">GPSBabel Github repo</link> is easier. Checkouts via Git, HTTPS, SSH, and Subversion are supported.
 </para>
     <para>There are external requirements for bulding.</para>
     <variablelist>
       <varlistentry>
         <term>
-          <ulink url="http://qt-project.org">Qt</ulink>
+          <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qt-project.org">Qt</link>
         </term>
         <listitem>
           <para>
 Qt version 5.12 or newer is required for all builds.  MacOS and Windows users can download
-binaries from <ulink url="http://qt-project.org/downloads">Qt Downloads</ulink>
+binaries from <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qt-project.org/downloads">Qt Downloads</link>
 Fedora or CentOS users may need to 'dnf install qt5-qtbase-devel'.  When in doubt, 'dnf search qt' or 'dnf search qt5' may help you find the correct package name. Ubuntu users may need to 'apt-get install qt5-default'. Package names
 and versions in Linux frequently change, so you may need to ask your Linux vendor
 for help or look in tools/Docker* for inspiration for our automated builds that
@@ -45,7 +45,7 @@ use Docker.
       </varlistentry>
       <varlistentry>
         <term>
-          <ulink url="http://libusb.sourceforge.net">libusb 1.0</ulink>
+          <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://libusb.sourceforge.net">libusb 1.0</link>
         </term>
         <listitem>
           <para>
@@ -57,7 +57,7 @@ from our automated Docker builds.</para>
         </listitem>
       </varlistentry>
     </variablelist>
-    <sectid="Internal_History">
+    <section xml:id="Internal_History">
       <title>Brief history of internals</title>
       <para>
     Parts of GPSBabel have been public since 2002, with some of the original
@@ -71,25 +71,25 @@ from our automated Docker builds.</para>
     not enforced style rules as strongly across modules as we could have. Fixing
     both of these is a goal for us in 2020.
   </para>
-    </sect2>
-    <sectid="Qt">
+    </section>
+    <section xml:id="Qt">
       <title>Building with Qt Creator</title>
       <para>
 Qt provides a lovely IDE (Integrated Development Evironment) with an
 editor and debugger. Its use is strongly encouraged for those new to C++.
 Once you have Qt correctly installed, just opening the <filename>
 CMakeLists.txt</filename> from
-the File->Open menu in an already-running instance of <ulink url="https://www.qt.io/development-tools">Qt Creator</ulink> is the fastest and easiest way for most
+the File-&gt;Open menu in an already-running instance of <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.qt.io/development-tools">Qt Creator</link> is the fastest and easiest way for most
 people to get to development because it handles things like build dependencies
 changing and class and method compilation.
   </para>
   <para>
 A path of low resistance for some users is to use the CMakeLists.txt file
-from the command line.  If you type <ulink url="https://cmake.org/cmake/help/latest/">cmake .</ulink> in our working
+from the command line.  If you type <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://cmake.org/cmake/help/latest/">cmake .</link> in our working
 directory it will create a buildsystem with the default generator (Unix Makefiles or Visual Studio) which you can use for development.
   </para>
-    </sect2>
-    <sectid="cmake">
+    </section>
+    <section xml:id="cmake">
       <title>Building from the command line</title>
       <para>
 Those familiar with the command line may be more comfortable using cmake from the command line.
@@ -365,8 +365,8 @@ installer will be created gui/Setup-x.y.z-Setup.exe.
           </listitem>
         </varlistentry>
       </variablelist>
-    </sect2>
-    <sectid="Runtime_Dependencies">
+    </section>
+    <section xml:id="Runtime_Dependencies">
       <title>Runtime Dependencies:</title>
       <para>
 On non-macOS unix builds by default we now compile in the gpsbabel generated
@@ -376,6 +376,6 @@ These are used by the GUI.  Additional translation files from Qt will also be
 used if they are found.  They may be in a package such as qttranslations5-l10n
 or qt5-qttranslations.
       </para>
-    </sect2>
-  </sect1>
+    </section>
+  </section>
 </chapter>
index 24ea170381e238752e3b464c69d98fa2c38a7ac7..8c8cc6d40eed2eb92ab3981a978316ba2adaa267 100644 (file)
@@ -1,4 +1,4 @@
-<appendix id="Datums">
+<appendix xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="Datums">
 <title>Supported Datums</title>
 <para>
 Some formats in GPSBabel support multiple datums.  For example, the
@@ -135,4 +135,3 @@ The following is a list of the datums supported by GPSBabel.
 <member>Sweden</member>
 </simplelist>
 </appendix>
-
index e3225a28cce52ff3a1098b5912d93640ce7e4303..939568ac172751ed459e481029c8a07d1a96407f 100644 (file)
@@ -1,4 +1,4 @@
-   <chapter id="Data_Filters">
+<chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="Data_Filters">
       <title>Data Filters</title>
       <para> GPSBabel supports data filtering.  Data filters are
       invoked from the command line via the '-x' option.  It should be
@@ -16,7 +16,7 @@
       <para> Beware that most filters only apply to a certain kind of
       data. This is usually indicated below by referring to points,
       tracks or routes in the first sentence which describes each
-      filter or in the table at <ulink url="https://www.gpsbabel.org/capabilities.html">gpsbabel.org</ulink>
+      filter or in the table at <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.gpsbabel.org/capabilities.html">gpsbabel.org</link>
       .
 </para>
      &filters;
index a06e0be6ba864ccd9d6ed441824da40f54a2cdc6..be52f2dc1c12c29f28ec392efb7aac9673836566 100644 (file)
@@ -1,4 +1,4 @@
-   <chapter id="The_Formats">
+<chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="The_Formats">
     <title>The Formats</title>
     &formats;
    </chapter>
index 898310470a70578191418396ab98f98a77c33e1c..e0b393e6f33854ae5405ac48d465359c465a80ac 100644 (file)
@@ -1,4 +1,4 @@
-<appendix id="GarminIcons">
+<appendix xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="GarminIcons">
   <title>Garmin Icons</title>
   <para>Following is a list of the valid values for the
 
index 9d02a1eda896bf8b041f32f3b73c1566b416cfb5..7e75e0f9fa339071c5384c1f7f2614ab5c3cc137 100644 (file)
@@ -1,29 +1,29 @@
-<glossary id="Glossary">
+<glossary xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="Glossary">
   <title>Glossary</title>
   <para>Terms that are used in conjunction with GPSBabel.</para>
-  <glossdiv id="G">
+  <glossdiv xml:id="G">
     <title>G</title>
-    <glossentry id="gl_xml">
+    <glossentry xml:id="gl_xml">
       <glossterm>Geocaching</glossterm>
       <glossdef>
-        <para>GPS based &quot;paper chase&quot;, see
+        <para>GPS based "paper chase", see
 
-          <ulink url="http://en.wikipedia.org/wiki/Geocaching"/></para>
+          <uri xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://en.wikipedia.org/wiki/Geocaching">http://en.wikipedia.org/wiki/Geocaching</uri></para>
       </glossdef>
     </glossentry>
   </glossdiv>
   <glossdiv>
     <title>I</title>
-    <glossentry id="gl_itinerary">
+    <glossentry xml:id="gl_itinerary">
       <glossterm>Itinerary</glossterm>
       <glossdef>
         <para>same as a Route (e.g. used by TomTom)</para>
       </glossdef>
     </glossentry>
   </glossdiv>
-  <glossdiv id="P">
+  <glossdiv xml:id="P">
     <title>P</title>
-    <glossentry id="gl_poi">
+    <glossentry xml:id="gl_poi">
       <glossterm>Points of Interest (POI)</glossterm>
       <glossdef>
         <para>a collection of gas stations, post boxes, shops and
@@ -31,9 +31,9 @@
       </glossdef>
     </glossentry>
   </glossdiv>
-  <glossdiv id="R">
+  <glossdiv xml:id="R">
     <title>R</title>
-    <glossentry id="gl_route">
+    <glossentry xml:id="gl_route">
       <glossterm>Route</glossterm>
       <glossdef>
         <para>a list of geopoints (often with names) connected in
           defining the route you want to pass while traveling,
           created by PC software, or generated inside a GPS device.
           They can be composed of existing waypoints, or new
-          &quot;routepoints&quot; might be generated.</para>
+          "routepoints" might be generated.</para>
       </glossdef>
     </glossentry>
   </glossdiv>
-  <glossdiv id="T">
+  <glossdiv xml:id="T">
     <title>T</title>
-    <glossentry id="gl_track">
+    <glossentry xml:id="gl_track">
       <glossterm>Track</glossterm>
       <glossdef>
         <para>a collection of geopoints recorded by your GPS
-          device while traveling -- &quot;breadcrumb trails&quot;. The order
+          device while traveling -- "breadcrumb trails". The order
           of trackpoints within the track is important. Usually a
           trackpoint doesn't have a name or comment, but a
           timestamp. This distinguishes a trackpoint from a
@@ -59,9 +59,9 @@
       </glossdef>
     </glossentry>
   </glossdiv>
-  <glossdiv id="W">
+  <glossdiv xml:id="W">
     <title>W</title>
-    <glossentry id="gl_waypoint">
+    <glossentry xml:id="gl_waypoint">
       <glossterm>Waypoints</glossterm>
       <glossdef>
         <para>are geopoints that are not necessarily connected to
@@ -73,4 +73,4 @@
       </glossdef>
     </glossentry>
   </glossdiv>
-</glossary>
\ No newline at end of file
+</glossary>
index 695355d5fd7fd63ec1472c60d66facee7253eceb..339b14e292cf3e30a77f97222339e509be4e6288 100644 (file)
@@ -1,12 +1,12 @@
-<preface id="Introduction">
+<preface xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="Introduction">
    <title>Introduction to GPSBabel</title>
-   <section id="The_Problem">
+   <section xml:id="The_Problem">
       <title>The Problem: Too many incompatible GPS file formats</title>
       <para>There are simply too many gratuitously different file formats
 to hold waypoint, track, and route information in various programs
 used by computers and GPS receivers.
 
-         <ulink url="http://www.topografix.com/gpx.asp">GPX</ulink>
+         <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.topografix.com/gpx.asp">GPX</link>
          defines a
 standard in XML to contain all the data, but there are too many
 programs that don't understand it yet and too much data in
@@ -26,14 +26,14 @@ is a program that converts data between the two programs.</para>
       <para>GPSBabel actually solves that problem for you and much more...
 </para>
    </section>
-   <section id="The_Solution">
+   <section xml:id="The_Solution">
       <title>The Solution</title>
       <para>The original author of GPSBabel,
-         <ulink url="/people/robertlipe.html">Robert Lipe</ulink>
+         <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/people/robertlipe.html">Robert Lipe</link>
          , needed to convert waypoints between a couple of formats, so he
 whipped up a converter and designed it upon an extensible foundation so
 that it was easy to add new formats and made the program freely available.
-         <ulink url="/people/index.html">Many others</ulink>
+         <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/people/index.html">Many others</link>
          have contributed to the program since then.</para>
       <para>Most file formats added so far have taken under 200
    lines of reasonable ISO C so they can be stamped
index 49c21cf023bec107a979d688ae0e92b718433692..2fa789a9b95d1c2e79b270921845e0de22260d00 100644 (file)
@@ -1,8 +1,8 @@
-<appendix id="Styles">
+<appendix xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="Styles">
    <title>GPSBabel XCSV Style Files</title>
-   <section id="styles_intro">
+   <section xml:id="styles_intro">
       <title>Introduction to GPSBabel Styles</title>
-      <para>Often it is desirable to add a new file format for &quot;one-off&quot; work (perhaps
+      <para>Often it is desirable to add a new file format for "one-off" work (perhaps
 you want to export something to a spreadsheet or graphing program) or to read
 a format that GPSBabel does not yet support.   For suitably simple formats,
 this can be done by a user with no programming experience by providing a
@@ -21,8 +21,8 @@ are not good fits for this scheme.  It should have:
       <para>Once you have created a style file that describes the file format you have
 or want, you must tell GPSBabel to use the xcsv format and have the xcsv
 format use that file.  If you created a new style file called
-&quot;mystyle.style&quot; and you want to write the  waypoints from
-a GPX file named &quot;mine.gpx&quot; to it, you would issue a command like:
+"mystyle.style" and you want to write the  waypoints from
+a GPX file named "mine.gpx" to it, you would issue a command like:
 </para>
       <para>
          <userinput>gpsbabel -i gpx -f mine.gpx -o xcsv,style=mystyle.style -F mine.new</userinput>
@@ -48,12 +48,12 @@ then share
 Send it along with a coherent description to the GPSBabel-Misc mailing
 list for consideration to be included in a future version.</para>
    </section>
-   <section id="style_intro2">
+   <section xml:id="style_intro2">
       <title>Style file overview</title>
       <para>The first and foremost important step is understanding how the style
 file is laid out itself.  The format is:
 </para>
-      <screen format="linespecific">DIRECTIVE&lt;whitespace&gt;VALUE</screen>
+      <screen>DIRECTIVE&lt;whitespace&gt;VALUE</screen>
       <para>Where &lt;whitespace&gt; is one or more spaces or tabs.  There should
 be no spaces or tabs at the beginning of the line; all directives start
 at the left edge in column zero.
@@ -79,7 +79,7 @@ EXTENSION               txt
 #
 FIELD_DELIMITER      TAB
 RECORD_DELIMITER  NEWLINE
-BADCHARS    ,&quot;
+BADCHARS    ,"
 
 PROLOGUE Name  Latitude Longitude   Description URL   Type  Container   Diff  Terr
 
@@ -89,20 +89,20 @@ PROLOGUE Name  Latitude Longitude   Description URL   Type  Container   Diff  Te
 #       EXPORT THIS ANYWHERE SO WE CAN HAVE OUR
 #       WAY WITH THE FORMATTING.
 #
-IFIELD   SHORTNAME, &quot;&quot;, &quot;%s&quot;      # Name
-IFIELD   LAT_DECIMAL, &quot;&quot;, &quot;%f&quot;    # Latitude
-IFIELD   LON_DECIMAL, &quot;&quot;, &quot;%f&quot;    # Longitude
-IFIELD   DESCRIPTION, &quot;&quot;, &quot;%s&quot;    # Name 2 (Big Description)
-IFIELD   URL, &quot;&quot;, &quot;%s&quot;         # URL
-IFIELD   GEOCACHE_TYPE, &quot;&quot;, &quot;%s&quot;     # Geocache Type
-IFIELD   GEOCACHE_CONTAINER, &quot;&quot;, &quot;%s&quot;   # Geocache Type
-IFIELD   GEOCACHE_DIFF, &quot;&quot;, &quot;%3.1f&quot;  # Geocache Type
-IFIELD   GEOCACHE_TERR, &quot;&quot;, &quot;%3.1f&quot;  # Geocache Type
+IFIELD   SHORTNAME, "", "%s"      # Name
+IFIELD   LAT_DECIMAL, "", "%f"    # Latitude
+IFIELD   LON_DECIMAL, "", "%f"    # Longitude
+IFIELD   DESCRIPTION, "", "%s"    # Name 2 (Big Description)
+IFIELD   URL, "", "%s"         # URL
+IFIELD   GEOCACHE_TYPE, "", "%s"     # Geocache Type
+IFIELD   GEOCACHE_CONTAINER, "", "%s"   # Geocache Type
+IFIELD   GEOCACHE_DIFF, "", "%3.1f"  # Geocache Type
+IFIELD   GEOCACHE_TERR, "", "%3.1f"  # Geocache Type
 </literallayout>
          Each of these lines will be explained in the following sections.</para>
    </section>
    <!-- intro -->
-   <section id="styles_internal_const">
+   <section xml:id="styles_internal_const">
       <title>Internal Constants</title>
       <para>A few internal constants are defined in the XCSV parser to make the style
 file simpler.  They may or may not be used and are optional in most cases.
@@ -127,7 +127,7 @@ Note that only certain style file directives map these constants.
             </seglistitem>
             <seglistitem>
                <seg>DOUBLEQUOTE</seg>
-               <seg>&quot;</seg>
+               <seg>"</seg>
             </seglistitem>
             <seglistitem>
                <seg>COLON</seg>
@@ -171,7 +171,7 @@ Note that only certain style file directives map these constants.
             </seglistitem>
          </segmentedlist>
       </para>
-      <section id="style_const_whitespace">
+      <section xml:id="style_const_whitespace">
          <title>WHITESPACE</title>
          <para>The WHITESPACE constant has special properties.  When reading data,
 WHITESPACE refers to sequential runs of SPACES and/or TABS.  When
@@ -179,50 +179,50 @@ writing data, WHITESPACE is always a single SPACE.
 </para>
          <para>For example, the following line:
 </para>
-         <screen format="linespecific">SOME_NAME       30.1208 -91.1365    SOME OTHER NAME
+         <screen>SOME_NAME       30.1208 -91.1365    SOME OTHER NAME
 </screen>
          <para>Parses into the following data fields:
 </para>
-         <screen format="linespecific">SOME_NAME,30.1208,-91.1365,SOME,OTHER,NAME
+         <screen>SOME_NAME,30.1208,-91.1365,SOME,OTHER,NAME
 </screen>
       </section>
-      <section id="style_const_comments">
+      <section xml:id="style_const_comments">
          <title>COMMENTS</title>
          <para>Anything after a hash (#) on a line is not parsed.  For example:
 </para>
-         <screen format="linespecific">#THIS ENTIRE LINE IS A COMMENT.
-#FIELD   LAT_DECIMAL, &quot;&quot;, &quot;%f&quot;   THIS ENTIRE LINE IS A COMMENT
-FIELD LAT_DECIMAL, &quot;&quot;, &quot;%f&quot;  # ONLY THIS SENTENCE IS A COMMENT.
+         <screen>#THIS ENTIRE LINE IS A COMMENT.
+#FIELD   LAT_DECIMAL, "", "%f"   THIS ENTIRE LINE IS A COMMENT
+FIELD LAT_DECIMAL, "", "%f"  # ONLY THIS SENTENCE IS A COMMENT.
 </screen>
       </section>
    </section>
    <!-- internal constants -->
-   <section id="style_global">
+   <section xml:id="style_global">
       <title>Global Properties of the File</title>
       <para>There are a few available directives to describe general traits of the
 file being described and not specific data within the file itself.
 </para>
-      <section id="style_global_description">
+      <section xml:id="style_global_description">
          <title>DESCRIPTION</title>
          <para>This is the description of the file format being described. This text
 appears in the help screens and in menus used by the various GUI wrappers.
 </para>
       </section>
-      <section id="style_global_extension">
+      <section xml:id="style_global_extension">
          <title>EXTENSION</title>
          <para>This directive gives the filename extension generally associated with
 this file.
 </para>
       </section>
-      <section id="style_global_encoding">
+      <section xml:id="style_global_encoding">
          <title>ENCODING</title>
          <para>Describes the character set used by this format.  The value given
 must be one listed by 'gpsbabel -l'.    example:
 </para>
-         <screen format="linespecific">ENCODING          UTF-8 # Use UTF-8 for input and output.
+         <screen>ENCODING          UTF-8 # Use UTF-8 for input and output.
 </screen>
       </section>
-      <section id="style_global_datum">
+      <section xml:id="style_global_datum">
          <title>DATUM</title>
          <para>This value specifies the GPS datum to be used on read or write. Valid values for this
 option are listed in
@@ -234,70 +234,70 @@ option are listed in
 
             <xref linkend="Datums"/>
             .</para>
-         <screen format="linespecific">DATUM             European 1950
+         <screen>DATUM             European 1950
 </screen>
       </section>
-      <section id="style_global_datatype">
+      <section xml:id="style_global_datatype">
          <title>DATATYPE</title>
          <para>Specifies the kind of data we have to read or write.
 </para>
          <para>By default all data are seen as waypoint data. With DATATYPE you are now able to bind
 a specific type to this format. Possible values are WAYPOINT, ROUTE or TRACK.
 </para>
-         <screen format="linespecific">DATATYPE          ROUTE # route-only format
+         <screen>DATATYPE          ROUTE # route-only format
 </screen>
       </section>
    </section>
    <!-- global -->
-   <section id="style_behavior">
+   <section xml:id="style_behavior">
       <title>GPSBabel Behavior Directives</title>
       <para>There are a few available directives to control some of the internal
 processing functions of GPSBabel.
 </para>
-      <section id="style_behave_shortlen">
+      <section xml:id="style_behave_shortlen">
          <title>SHORTLEN</title>
          <para>This sets the maximum allowed shortname length when using the internal
    shortname synthesizer.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">SHORTLEN 16 # shortnames will be at most 16 characters long.
+         <screen>SHORTLEN 16 # shortnames will be at most 16 characters long.
 </screen>
       </section>
-      <section id="style_behave_shortwhite">
+      <section xml:id="style_behave_shortwhite">
          <title>SHORTWHITE</title>
          <para>This tells the shortname synthesizer whether or not to allow whitespace
    in the synthesized shortnames.  Allowed values are zero and one.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">SHORTWHITE  0  # Do not allow whitespace in shortname.
+         <screen>SHORTWHITE  0  # Do not allow whitespace in shortname.
    SHORTWHITE   1 # Allow whitespace in shortname.
 </screen>
       </section>
    </section>
    <!-- behavior -->
-   <section id="style_layout">
+   <section xml:id="style_layout">
       <title>Defining the Layout of the File</title>
       <para>The first few directives define the layout the physical file itself:
 </para>
-      <section id="style_layout_field">
+      <section xml:id="style_layout_field">
          <title>FIELD_DELIMITER</title>
          <para>The field delimiter defines the character(s) that separate the fields in
    the rows of data inside the XCSV file.  Common field delimiters are commas
-   and tabs. (referred to as &quot;comma separated values&quot; and &quot;tab separated
-   values&quot;)
+   and tabs. (referred to as "comma separated values" and "tab separated
+   values")
 </para>
          <para>examples:
 </para>
-         <screen format="linespecific">FIELD_DELIMITER    COMMA
+         <screen>FIELD_DELIMITER    COMMA
    FIELD_DELIMITER    ~
 </screen>
          <para>The directive FIELD_DELIMITER is parsed for STYLE CONSTANTS as defined in
    the table above.
 </para>
       </section>
-      <section id="style_layout_field_enclose">
+      <section xml:id="style_layout_field_enclose">
          <title>FIELD_ENCLOSER</title>
          <para>The field encloser defines the character(s) that surround the field values.
    Common field enclosers are single and double quote marks. Many styles will
@@ -305,14 +305,14 @@ processing functions of GPSBabel.
 </para>
          <para>examples:
 </para>
-         <screen format="linespecific">FIELD_ENCLOSER    DOUBLEQUOTE
+         <screen>FIELD_ENCLOSER    DOUBLEQUOTE
    FIELD_ENCLOSER    SINGLEQUOTE
 </screen>
          <para>The directive FIELD_ENCLOSER is parsed for STYLE CONSTANTS as defined in
    the table above.
 </para>
       </section>
-      <section id="style_layout_rec">
+      <section xml:id="style_layout_rec">
          <title>RECORD_DELIMITER</title>
          <para>The record delimiter defines that character(s) that separate ROWS of
    data (FIELDS) in the XCSV file.  The most common record delimiters
@@ -320,14 +320,14 @@ processing functions of GPSBabel.
 </para>
          <para>examples:
 </para>
-         <screen format="linespecific">RECORD_DELIMITER    NEWLINE
+         <screen>RECORD_DELIMITER    NEWLINE
    RECORD_DELIMITER    |
 </screen>
          <para>The directive RECORD_DELIMITER is parsed for STYLE CONSTANTS as defined
    in the table above.
 </para>
       </section>
-      <section id="style_layout_badchars">
+      <section xml:id="style_layout_badchars">
          <title>BADCHARS</title>
          <para>Bad characters are things that should *never* be written into the XCSV
    file as data on output.  GPSBabel automatically includes any non-blank
@@ -336,28 +336,28 @@ processing functions of GPSBabel.
 </para>
          <para>examples:
 </para>
-         <screen format="linespecific">BADCHARS    COMMA
+         <screen>BADCHARS    COMMA
   BADCHARS    ~|
 </screen>
          <para>The directive BADCHARS is parsed for STYLE CONSTANTS as defined in the
    table above.
 </para>
       </section>
-      <section id="style_layout_prologue">
+      <section xml:id="style_layout_prologue">
          <title>PROLOGUE</title>
          <para>A prologue is basically constant data that is written to the output
    file BEFORE any waypoints are processed.  PROLOGUE can be defined
-   multiple times in the style file, once for each &quot;line&quot; before the data
-   begins.  This is commonly used in XCSV files as a &quot;header&quot; row.
+   multiple times in the style file, once for each "line" before the data
+   begins.  This is commonly used in XCSV files as a "header" row.
 </para>
          <para>examples:
 </para>
-         <screen format="linespecific">PROLOGUE OziExplorer Waypoint File Version 1.1
+         <screen>PROLOGUE OziExplorer Waypoint File Version 1.1
   PROLOGUE  WGS 84
   PROLOGUE  Symbol,Name,Latitude,Longitude
 </screen>
       </section>
-      <section id="style_layout_epilogue">
+      <section xml:id="style_layout_epilogue">
          <title>EPILOGUE</title>
          <para>An Epilogue is the same as a prologue, except this data is written at
    the END of the file.  See the examples for PROLOGUE above.
@@ -365,35 +365,35 @@ processing functions of GPSBabel.
       </section>
    </section>
    <!-- layout -->
-   <section id="style_define">
+   <section xml:id="style_define">
       <title>Defining Fields Within the File</title>
       <para>A field defines data.  There are two different classifications of FIELDS,
 IFIELD (file input) and OFIELD (file output).  In the absence of any OFIELDS,
 IFIELDS are use as both input and output.  The existence of OFIELDS is
 primarily to allow more flexible mapping of GPSBabel data to output data
-(say, for instance, to map the internal GPSBabel &quot;description&quot; variable to
+(say, for instance, to map the internal GPSBabel "description" variable to
 two or more fields on output).  For all practical purposes, IFIELDS and
 OFIELDS are defined the same way in the style file.</para>
       <para>The following per-field options are defined:
 </para>
       <itemizedlist>
          <listitem>
-            <para>&quot;no_delim_before&quot; is supported on in OFIELD tags to specify that this
+            <para>"no_delim_before" is supported on in OFIELD tags to specify that this
    field should be written without a field delimiter before it.  It's
    useful for limited field concatenation.
 </para>
          </listitem>
          <listitem>
-            <para>&quot;absolute&quot; is supported on OFIELD tags for lat and lon to indicate
+            <para>"absolute" is supported on OFIELD tags for lat and lon to indicate
    that only absolute values (never negative) are to be printed.
 </para>
          </listitem>
          <listitem>
-            <para>&quot;optional&quot; is supported only OFIELD tags and indicates that the
+            <para>"optional" is supported only OFIELD tags and indicates that the
    field may or may not be available in the source data.  If the
    field is absent, no trailing field separator is written.
 </para>
-            <para>This attribute is most useful when paired with &quot;no_delim_before&quot; as
+            <para>This attribute is most useful when paired with "no_delim_before" as
    it allows you to concatenate fields without concern for whether those
    fields are actually populated or not.
 </para>
@@ -411,7 +411,7 @@ parsed from input and written to output.
 </para>
       <para>The fields used by the XCSV parser are as follows:
 </para>
-      <section id="style_def_ignore">
+      <section xml:id="style_def_ignore">
          <title>IGNORE</title>
          <para>IGNORE fields are, guess what, ignored on input.   Internally, IGNORE
    fields are treated as CHARACTER data, and as such, require a printf
@@ -419,11 +419,11 @@ parsed from input and written to output.
 </para>
          <para>examples:
 </para>
-         <screen format="linespecific">IFIELD IGNORE,&quot;&quot;,&quot;%14.14s&quot;   # (writes a 14 character blank field)
-   IFIELD IGNORE,&quot;&quot;,&quot;%s&quot;        # (writes a blank field on output)
+         <screen>IFIELD IGNORE,"","%14.14s"   # (writes a 14 character blank field)
+   IFIELD IGNORE,"","%s"        # (writes a blank field on output)
 </screen>
       </section>
-      <section id="style_def_constant">
+      <section xml:id="style_def_constant">
          <title>CONSTANT</title>
          <para>CONSTANT fields are, of course, constant.  They are ignored on input,
    however they write CONSTANT data on output.  As such, they require a
@@ -431,11 +431,11 @@ parsed from input and written to output.
 </para>
          <para>examples:
 </para>
-         <screen format="linespecific">IFIELD CONSTANT,&quot;FFFFFF&quot;,&quot;%s&quot;   # (writes &quot;FFFFFF&quot; in the field)
-   IFIELD CONSTANT,&quot;01/01/70&quot;,&quot;%s&quot; # (a constant date field)
+         <screen>IFIELD CONSTANT,"FFFFFF","%s"   # (writes "FFFFFF" in the field)
+   IFIELD CONSTANT,"01/01/70","%s" # (a constant date field)
 </screen>
       </section>
-      <section id="style_def_index">
+      <section xml:id="style_def_index">
          <title>INDEX</title>
          <para>An INDEX field is used ONLY on output.  The INDEX constant defines a field
    that, at output, contains the sequence number of the waypoint being
@@ -446,12 +446,12 @@ parsed from input and written to output.
 </para>
          <para>examples:
 </para>
-         <screen format="linespecific">IFIELD INDEX,&quot;0&quot;,&quot;%04d&quot;     # (Starts counting at zero)
-   IFIELD INDEX,&quot;&quot;,&quot;%04d&quot;      # (Starts counting at zero)
-   IFIELD INDEX,&quot;1&quot;,&quot;%04d&quot;     # (Starts counting at one)
+         <screen>IFIELD INDEX,"0","%04d"     # (Starts counting at zero)
+   IFIELD INDEX,"","%04d"      # (Starts counting at zero)
+   IFIELD INDEX,"1","%04d"     # (Starts counting at one)
 </screen>
       </section>
-      <section id="style_def_shortname">
+      <section xml:id="style_def_shortname">
          <title>SHORTNAME</title>
          <para>A SHORTNAME is generally the waypoint name of the data being processed.
    SHORTNAME maps directly to the GPSBabel variable -&gt;shortname.  A SHORTNAME
@@ -459,10 +459,10 @@ parsed from input and written to output.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD SHORTNAME,&quot;&quot;,&quot;%s&quot;
+         <screen>IFIELD SHORTNAME,"","%s"
 </screen>
       </section>
-      <section id="style_def_description">
+      <section xml:id="style_def_description">
          <title>DESCRIPTION</title>
          <para>A DESCRIPTION is generally a long description of the waypoint.  A
    DESCRIPTION maps to the GPSBabel variable -&gt;description and is otherwise
@@ -470,27 +470,27 @@ parsed from input and written to output.
 </para>
          <para>examples:
 </para>
-         <screen format="linespecific">IFIELD DESCRIPTION,&quot;&quot;,&quot;%s&quot;
+         <screen>IFIELD DESCRIPTION,"","%s"
 </screen>
       </section>
-      <section id="style_def_notes">
+      <section xml:id="style_def_notes">
          <title>NOTES</title>
          <para>NOTES are generally everything else about a waypoints. NOTES map to the
    GPSBabel variable -&gt;notes and is otherwise handled exactly like a
    SHORTNAME.
 </para>
       </section>
-      <section id="style_def_url">
+      <section xml:id="style_def_url">
          <title>URL</title>
          <para>URL is a URL for the waypoint.  URL maps to the GPSBabel variable
    -&gt;url and is otherwise handled exactly like a SHORTNAME.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD URL,&quot;&quot;,&quot;%s&quot;
+         <screen>IFIELD URL,"","%s"
 </screen>
       </section>
-      <section id="style_def_urllinktext">
+      <section xml:id="style_def_urllinktext">
          <title>URL_LINK_TEXT</title>
          <para>URL_LINK_TEXT is a textual description of where a URL points.
    URL_LINK_TEXT maps to the GPSBabel variable -&gt;url_link_text and
@@ -498,10 +498,10 @@ parsed from input and written to output.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD URL_LINK_TEXT,&quot;&quot;,&quot;%s&quot;
+         <screen>IFIELD URL_LINK_TEXT,"","%s"
 </screen>
       </section>
-      <section id="style_def_icondescr">
+      <section xml:id="style_def_icondescr">
          <title>ICON_DESCR</title>
          <para>ICON_DESCR is a textual description of an icon type for a waypoint.
    ICON_DESCR maps to the GPSBabel variable -&gt;icon_desc and is otherwise
@@ -509,10 +509,10 @@ parsed from input and written to output.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD ICON_DESCR,&quot;&quot;,&quot;%s&quot;
+         <screen>IFIELD ICON_DESCR,"","%s"
 </screen>
       </section>
-      <section id="style_def_latdec">
+      <section xml:id="style_def_latdec">
          <title>LAT_DECIMAL</title>
          <para>LAT_DECIMAL defines LATITUDE in DECIMAL format.  Note that this is a PURE
    signed decimal format (i.e. -91.0000).  This data is handled internally as
@@ -520,15 +520,15 @@ parsed from input and written to output.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD LAT_DECIMAL,&quot;&quot;,&quot;%f&quot;
+         <screen>IFIELD LAT_DECIMAL,"","%f"
 </screen>
       </section>
-      <section id="style_def_londec">
+      <section xml:id="style_def_londec">
          <title>LON_DECIMAL</title>
          <para>See LAT_DECIMAL, except LON_DECIMAL defines LONGITUDE.
 </para>
       </section>
-      <section id="style_def_latint32">
+      <section xml:id="style_def_latint32">
          <title>LAT_INT32DEG</title>
          <para>LAT_INT32DEG defines LATITUDE in what I call INT32DEGREES.  This value is
    a signed LONG INTEGER and requires a LONG INTEGER printf conversion.
@@ -536,15 +536,15 @@ parsed from input and written to output.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD LAT_INT32DEG,&quot;&quot;,&quot;%ld&quot;
+         <screen>IFIELD LAT_INT32DEG,"","%ld"
 </screen>
       </section>
-      <section id="style_def_lonint32">
+      <section xml:id="style_def_lonint32">
          <title>LON_INT32DEG</title>
          <para>See LON_INT32DEG except LON_INT32DEG defines LONGITUDE.
 </para>
       </section>
-      <section id="style_def_latdirdec">
+      <section xml:id="style_def_latdirdec">
          <title>LAT_DECIMALDIR / LAT_DIRDECIMAL</title>
          <para>LAT_DECIMALDIR and LAT_DIRDECIMAL  define LATITUDE in DECIMAL format
    with the added bonus of a 'N/S' or 'E/W' direction character.  This data
@@ -556,23 +556,23 @@ parsed from input and written to output.
 </para>
          <para>examples:
 </para>
-         <screen format="linespecific">IFIELD LAT_DECIMALDIR,&quot;&quot;,&quot;%f %c&quot;     #  (writes 31.333 N)
-   IFIELD LAT_DIRDECIMAL,&quot;&quot;,&quot;%c %f&quot;     #  (writes N 31.333)
+         <screen>IFIELD LAT_DECIMALDIR,"","%f %c"     #  (writes 31.333 N)
+   IFIELD LAT_DIRDECIMAL,"","%c %f"     #  (writes N 31.333)
 </screen>
       </section>
-      <section id="style_def_londirdec">
+      <section xml:id="style_def_londirdec">
          <title>LON_DECIMALDIR / LON_DIRDECIMAL</title>
          <para>Same as LAT_DECIMALDIR / LAT_DIRDECIMAL except LON_ defines LONGITUDE.
 </para>
       </section>
-      <section id="style_def_latlondir">
+      <section xml:id="style_def_latlondir">
          <title>LAT_DIR / LON_DIR</title>
          <para>LAT_DIR returns the single character 'N' or 'S' depending on the
    hemisphere of the latitude.  LON_DIR returns 'E' or 'W' depending on
    the hemisphere of the longitude.
 </para>
       </section>
-      <section id="style_def_lathuman">
+      <section xml:id="style_def_lathuman">
          <title>LAT_HUMAN_READABLE</title>
          <para>LAT_HUMAN_READABLE defines LATITUDE in a human-readable format.  This
    format is probably the most expressive format.  It is similar to
@@ -583,17 +583,17 @@ parsed from input and written to output.
 </para>
          <para>examples:
 </para>
-         <screen format="linespecific">#  (writes N 31 40.000)
-   IFIELD LAT_HUMAN_READABLE,&quot;&quot;,&quot;%c %d %f&quot;
-   #  (writes &quot;31 deg 40.000 min N&quot;)
-   IFIELD LAT_HUMAN_READABLE,&quot;&quot;,&quot;%d deg %f min %c&quot;
+         <screen>#  (writes N 31 40.000)
+   IFIELD LAT_HUMAN_READABLE,"","%c %d %f"
+   #  (writes "31 deg 40.000 min N")
+   IFIELD LAT_HUMAN_READABLE,"","%d deg %f min %c"
    #  Note that this string will confuse the reading routine due
-   #  to the letter &quot;n&quot; in &quot;min&quot; and the letter &quot;e&quot; in &quot;deg.&quot;
+   #  to the letter "n" in "min" and the letter "e" in "deg."
    # (writes 31 40 00.000N)
-   IFIELD LAT_HUMAN_READABLE,&quot;&quot;,&quot;%d %d %f%c&quot;
+   IFIELD LAT_HUMAN_READABLE,"","%d %d %f%c"
 </screen>
       </section>
-      <section id="style_def_map_en_bng">
+      <section xml:id="style_def_map_en_bng">
          <title>MAP_EN_BNG</title>
          <para>MAP_EN_BNG converts coordinates from/to British National Grid (BNG).
 </para>
@@ -602,16 +602,16 @@ parsed from input and written to output.
 </para>
          <para>examples:
 </para>
-         <screen format="linespecific">IFIELD MAP_EN_BNG,&quot;&quot;,&quot;%s%5d %5d&quot;   #  (writes i.e. &quot;SJ00001 00001&quot;)
-   IFIELD MAP_EN_BNG,&quot;&quot;,&quot;%s %d %d&quot;    #  (writes i.e. &quot;TQ 888 999&quot;)
+         <screen>IFIELD MAP_EN_BNG,"","%s%5d %5d"   #  (writes i.e. "SJ00001 00001")
+   IFIELD MAP_EN_BNG,"","%s %d %d"    #  (writes i.e. "TQ 888 999")
 </screen>
       </section>
-      <section id="style_def_lonhuman">
+      <section xml:id="style_def_lonhuman">
          <title>LON_HUMAN_READABLE</title>
          <para>See LAT_HUMAN_READABLE except LON_HUMAN_READABLE defines LONGITUDE.
 </para>
       </section>
-      <section id="style_def_latlonhuman">
+      <section xml:id="style_def_latlonhuman">
          <title>LATLON_HUMAN_READABLE</title>
          <para>LATLON_HUMAN_READABLE is like LAT_HUMAN_READABLE and LON_HUMAN_READABLE
    except that it reads and writes both latitude and longitude as a single
@@ -621,53 +621,53 @@ parsed from input and written to output.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD LATLON_HUMAN_READABLE,&quot;&quot;,&quot;%c %d %f&quot;
-           # (writes &quot;N 31 40.126 W 85 09.62&quot; as a single field)
+         <screen>IFIELD LATLON_HUMAN_READABLE,"","%c %d %f"
+           # (writes "N 31 40.126 W 85 09.62" as a single field)
 </screen>
       </section>
-      <section id="style_def_latnmea">
+      <section xml:id="style_def_latnmea">
          <title>LAT_NMEA</title>
          <para>Defines the latitude in the format used by the NMEA standard which is
    degrees multiplied by 100 plus decimal minutes.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD  LAT_NMEA, &quot;%f&quot;, &quot;%08.3f&quot;     # (writes  3558.322)
+         <screen>IFIELD  LAT_NMEA, "%f", "%08.3f"     # (writes  3558.322)
 </screen>
       </section>
-      <section id="style_def_latddmmdir">
+      <section xml:id="style_def_latddmmdir">
          <title>LAT_DDMMDIR</title>
          <para>Derived from the LAT_NMEA latitude format, with degrees * 100 plus decimal
 minutes, but using an additional specifier to position the  'N' or 'S' instead of a leading minus sign (or
 absence thereof) to give direction from zero.
 </para>
          <para>
-            <screen format="linespecific">IFIELD LAT_DDMMDIR, &quot;%f&quot;, &quot;%08.3f%c&quot; # (writes &quot;5334.192S&quot; giving -53.56987 degrees latitude)
+            <screen>IFIELD LAT_DDMMDIR, "%f", "%08.3f%c" # (writes "5334.192S" giving -53.56987 degrees latitude)
 </screen>
          </para>
       </section>
-      <section id="style_def_lonnmea">
+      <section xml:id="style_def_lonnmea">
          <title>LON_NMEA</title>
          <para>Defines the longitude in the format used by the NMEA standard which is
    degrees multiplied by 100 plus decimal minutes.
 </para>
          <para>Example:
 </para>
-         <screen format="linespecific">IFIELD  LON_NMEA, &quot;%f&quot;, &quot;%010.3f&quot;  # (writes -08708.082)
+         <screen>IFIELD  LON_NMEA, "%f", "%010.3f"  # (writes -08708.082)
 </screen>
       </section>
-      <section id="style_def_londdmmdir">
+      <section xml:id="style_def_londdmmdir">
          <title>LON_DDMMDIR</title>
          <para>Derived from the LON_NMEA longitude format, with degrees * 100 plus decimal minutes, but using an additional character format character to position the
 'E' or 'W' instead of a leading minus sign (or absence thereof) to give direction from zero.
 </para>
          <para>Example:
 </para>
-         <screen format="linespecific">IFIELD LON_DDMMDIR, &quot;%f&quot;, &quot;%010.3f%c&quot; # (writes &quot;01232.745W&quot; giving -12.54575 degrees
+         <screen>IFIELD LON_DDMMDIR, "%f", "%010.3f%c" # (writes "01232.745W" giving -12.54575 degrees
 longitude)
 </screen>
       </section>
-      <section id="style_def_latlon_10ex">
+      <section xml:id="style_def_latlon_10ex">
          <title>LAT_10EX / LON_10EX</title>
          <para>Defines the latitude or longitude in the format used i.e. by TomTom Navigator
    itinerary files. It is degrees multiplied by 10 power X. X have to be replaced with
@@ -676,59 +676,59 @@ longitude)
 </para>
          <para>examples:
 </para>
-         <screen format="linespecific">IFIELD  LAT_10E5, &quot;%f&quot;, &quot;%.f&quot;       # (writes  3558322)
+         <screen>IFIELD  LAT_10E5, "%f", "%.f"       # (writes  3558322)
 </screen>
-         <screen format="linespecific">IFIELD  LON_10E5, &quot;%f&quot;, &quot;%.f&quot;       # (writes -8708082)
+         <screen>IFIELD  LON_10E5, "%f", "%.f"       # (writes -8708082)
 </screen>
       </section>
-      <section id="style_def_utm">
+      <section xml:id="style_def_utm">
          <title>UTM</title>
          <para>A location in UTM has several components: a zone, a northing, and an easting.   The UTM format specifier is the most common representation of these.
 </para>
          <para>example: </para>
-         <screen format="linespecific">IFIELD UTM, &quot;&quot;, &quot;%s&quot; # writes 6S 519045 3984035  -the easting is first by convention.</screen>
+         <screen>IFIELD UTM, "", "%s" # writes 6S 519045 3984035  -the easting is first by convention.</screen>
       </section>
-      <section id="style_def_utm_easting">
+      <section xml:id="style_def_utm_easting">
          <title>UTM_EASTING</title>
          <para>This is the decimal component representing the easting
 </para>
          <para>example: </para>
-         <screen format="linespecific">IFIELD UTM_EASTING, &quot;&quot;, &quot;%.0f&quot;  # outputs 519045
+         <screen>IFIELD UTM_EASTING, "", "%.0f"  # outputs 519045
 </screen>
       </section>
-      <section id="style_def_utm_northing">
+      <section xml:id="style_def_utm_northing">
          <title>UTM_NORTHING</title>
          <para>This is the decimal component representing the northing
 </para>
          <para>example: </para>
-         <screen format="linespecific">IFIELD UTM_NORTHING &quot;&quot;, &quot;%.0f&quot;  # outputs 3984035
+         <screen>IFIELD UTM_NORTHING "", "%.0f"  # outputs 3984035
 </screen>
       </section>
-      <section id="style_def_utm_zone">
+      <section xml:id="style_def_utm_zone">
          <title>UTM_ZONE</title>
          <para>The UTM zone.
 </para>
          <para>example: </para>
-         <screen format="linespecific">IFIELD UTM_ZONE &quot;&quot;, &quot;%d&quot;  # outputs 6
+         <screen>IFIELD UTM_ZONE "", "%d"  # outputs 6
 </screen>
       </section>
-      <section id="style_def_utm_zonec">
+      <section xml:id="style_def_utm_zonec">
          <title>UTM_ZONEC</title>
          <para>The UTM Zone character.
 </para>
          <para>example: </para>
-         <screen format="linespecific">IFIELD UTM_ZONEC &quot;&quot;, &quot;%c&quot;  # outputs S
+         <screen>IFIELD UTM_ZONEC "", "%c"  # outputs S
 </screen>
       </section>
-      <section id="style_def_utm_zonef">
+      <section xml:id="style_def_utm_zonef">
          <title/>
          <para>The full UTM zone and latitude band.
 </para>
          <para>example: </para>
-         <screen format="linespecific">IFIELD UTM_ZONEF &quot;&quot;, &quot;%d%c&quot;  # outputs 6S
+         <screen>IFIELD UTM_ZONEF "", "%d%c"  # outputs 6S
 </screen>
       </section>
-      <section id="style_def_altfeet">
+      <section xml:id="style_def_altfeet">
          <title>ALT_FEET</title>
          <para>ALT_FEET is the position's ALTITUDE in FEET.  This value is treated as
    a SIGNED DOUBLE PRECISION FLOAT and requires a FLOATING POINT printf
@@ -736,64 +736,64 @@ longitude)
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD ALT_FEET,&quot;&quot;,&quot;%.0f&quot;
+         <screen>IFIELD ALT_FEET,"","%.0f"
 </screen>
       </section>
-      <section id="style_def_altmeters">
+      <section xml:id="style_def_altmeters">
          <title>ALT_METERS</title>
          <para>ALT_METERS is identical to ALT_FEET with the exception that the altitude
    is in METERS.
 </para>
       </section>
-      <section id="style_def_heartrate">
+      <section xml:id="style_def_heartrate">
          <title>HEART_RATE</title>
          <para>Heart rate, measured in beats per minute.  Only valid for units with
    heart rate monitor features (i.e. Garmin Forerunner 301).
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD HEART_RATE,&quot;&quot;,&quot;%d&quot;
+         <screen>IFIELD HEART_RATE,"","%d"
 </screen>
       </section>
-      <section id="style_def_cadence">
+      <section xml:id="style_def_cadence">
          <title>CADENCE</title>
          <para>Cadence in revolutions per minute.  Only valid for units with
    heart rate monitor features (i.e. Garmin Edge 305).
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD CADENCE,&quot;&quot;,&quot;%d&quot;
+         <screen>IFIELD CADENCE,"","%d"
 </screen>
       </section>
-      <section id="style_def_power">
+      <section xml:id="style_def_power">
          <title>POWER</title>
          <para>Cycling power in Watts.  Only valid for units with power meter
    features (i.e. Garmin Edge 305).
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD POWER,&quot;&quot;,&quot;%.1f&quot;
+         <screen>IFIELD POWER,"","%.1f"
 </screen>
       </section>
-      <section id="style_def_temperature">
+      <section xml:id="style_def_temperature">
          <title>TEMPERATURE</title>
          <para>Temperature in degrees Celsius.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD TEMPERATURE,&quot;&quot;,&quot;%.1f&quot;
+         <screen>IFIELD TEMPERATURE,"","%.1f"
 </screen>
       </section>
-      <section id="style_def_temperaturef">
+      <section xml:id="style_def_temperaturef">
          <title>TEMPERATURE_F</title>
          <para>Temperature in degrees Fahrenheit.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD TEMPERATURE_F,&quot;&quot;,&quot;%.1f&quot;
+         <screen>IFIELD TEMPERATURE_F,"","%.1f"
 </screen>
       </section>
-      <section id="style_def_exceltime">
+      <section xml:id="style_def_exceltime">
          <title>EXCEL_TIME</title>
          <para>EXCEL_TIME is the waypoint's creation time, if any.  This is actually
    the decimal days since 1/1/1900 and is handled internally as a DOUBLE
@@ -801,10 +801,10 @@ longitude)
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD EXCEL_TIME,&quot;&quot;,&quot;%11.5f&quot;
+         <screen>IFIELD EXCEL_TIME,"","%11.5f"
 </screen>
       </section>
-      <section id="style_def_timettime">
+      <section xml:id="style_def_timettime">
          <title>TIMET_TIME</title>
          <para>TIMET_TIME is the waypoint's creation time, if any.  This is actually
    the integer seconds since 1970-01-01T00:00:00 UTC. It
@@ -813,10 +813,10 @@ longitude)
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD TIMET_TIME,&quot;&quot;,&quot;%lld&quot;
+         <screen>IFIELD TIMET_TIME,"","%lld"
 </screen>
       </section>
-      <section id="style_def_timettimems">
+      <section xml:id="style_def_timettimems">
          <title>TIMET_TIME_MS</title>
          <para>TIMET_TIME_MS is the same as TIMET_TIME, but expressed in milliseconds.
    It too is handled internally as a 64 bit integer and requires a LONG LONG INTEGER
@@ -824,10 +824,10 @@ longitude)
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD TIMET_TIME_MS,&quot;&quot;,&quot;%lld&quot;
+         <screen>IFIELD TIMET_TIME_MS,"","%lld"
 </screen>
       </section>
-      <section id="style_def_yyyymmdd">
+      <section xml:id="style_def_yyyymmdd">
          <title>YYYYMMDD_TIME</title>
          <para>YYYYMMDD_TIME is the waypoint's creation time, if any.  It's a single
    decimal field containing four digits of year, two digits of month,
@@ -836,17 +836,17 @@ longitude)
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD YYYYMMDD_TIME,&quot;&quot;,&quot;%ld&quot;
+         <screen>IFIELD YYYYMMDD_TIME,"","%ld"
 </screen>
       </section>
-      <section id="style_def_gmttime">
+      <section xml:id="style_def_gmttime">
          <title>GMT_TIME</title>
          <para>GMT_TIME is the waypoint's creation time, in UTC time zone.  It uses the
    strptime conversion format tags.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD GMT_TIME,&quot;&quot;,&quot;%m/%d/%Y %I:%M:%D %p&quot;
+         <screen>IFIELD GMT_TIME,"","%m/%d/%Y %I:%M:%D %p"
 </screen>
          <para>Search the web for 'strptime man page' for details strptime, but one
    such page can be found at
@@ -857,9 +857,9 @@ longitude)
 
 
 
-            <ulink url="http://www.die.net/doc/linux/man/man3/strptime.3.html">http://www.die.net/doc/linux/man/man3/strptime.3.html</ulink></para>
+            <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.die.net/doc/linux/man/man3/strptime.3.html">http://www.die.net/doc/linux/man/man3/strptime.3.html</link></para>
       </section>
-      <section id="style_def_localtime">
+      <section xml:id="style_def_localtime">
          <title>LOCAL_TIME</title>
          <para>LOCAL_TIME is the waypoint's creation time, in the local
  time zone.  It uses strptime conversion format tags.  See GMT_TIME for a
@@ -867,10 +867,10 @@ longitude)
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD LOCAL_TIME,&quot;&quot;,&quot;%y-%m-%d&quot;
+         <screen>IFIELD LOCAL_TIME,"","%y-%m-%d"
 </screen>
       </section>
-      <section id="style_def_hmsgtime">
+      <section xml:id="style_def_hmsgtime">
          <title>HMSG_TIME</title>
          <para>HMSG_TIME parses up to three time parts and am/pm string to add
    this value to the previously parsed *_TIME field that contains
@@ -878,10 +878,10 @@ longitude)
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD HMSG_TIME,&quot;&quot;,&quot;%d:%d:%d %s&quot;
+         <screen>IFIELD HMSG_TIME,"","%d:%d:%d %s"
 </screen>
       </section>
-      <section id="style_def_hmsltime">
+      <section xml:id="style_def_hmsltime">
          <title>HMSL_TIME</title>
          <para>HMSG_TIME parses up to three time parts and am/pm string to add
    this value to the previously parsed *_TIME field that contains
@@ -889,10 +889,10 @@ longitude)
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD HMSL_TIME,&quot;&quot;,&quot;%dh%dm&quot;
+         <screen>IFIELD HMSL_TIME,"","%dh%dm"
 </screen>
       </section>
-      <section id="style_def_isotime">
+      <section xml:id="style_def_isotime">
          <title>ISO_TIME</title>
          <para>ISO_TIME is the waypoint's creation time, in ISO 8601 format,
    which include time zone information.
@@ -903,10 +903,10 @@ longitude)
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD ISO_TIME,&quot;&quot;,&quot;%s&quot;
+         <screen>IFIELD ISO_TIME,"","%s"
 </screen>
       </section>
-      <section id="style_def_isotimems">
+      <section xml:id="style_def_isotimems">
          <title>ISO_TIME_MS</title>
          <para>ISO_TIME_MS is much like ISO_TIME, but expresses milliseconds at the
    end of the timestamp.
@@ -917,10 +917,10 @@ longitude)
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD ISO_TIME_MS,&quot;&quot;,&quot;%s&quot;
+         <screen>IFIELD ISO_TIME_MS,"","%s"
 </screen>
       </section>
-      <section id="style_def_nettime">
+      <section xml:id="style_def_nettime">
          <title>NET_TIME</title>
          <para>Microsoft dot net represents times in 100 nanosecond intervals since midnight
   Jan 1/0001 GMT, giving absurdly large numbers like 633943150010000000 for
@@ -928,104 +928,104 @@ longitude)
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD NET_TIME,&quot;&quot;,&quot;%lld&quot;
+         <screen>IFIELD NET_TIME,"","%lld"
 </screen>
       </section>
-      <section id="style_def_geodiff">
+      <section xml:id="style_def_geodiff">
          <title>GEOCACHE_DIFF</title>
          <para>GEOCACHE_DIFF is valid only for geocaches and represents a DOUBLE
-   PRECISION FLOAT.  This is the geocache &quot;difficulty&quot; rating as defined by
-   Groundspeak.  A &quot;three and a half star&quot; cache would therefore be &quot;3.5&quot;
+   PRECISION FLOAT.  This is the geocache "difficulty" rating as defined by
+   Groundspeak.  A "three and a half star" cache would therefore be "3.5"
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD GEOCACHE_DIFF,&quot;&quot;,&quot;%3.1f&quot;
+         <screen>IFIELD GEOCACHE_DIFF,"","%3.1f"
 </screen>
       </section>
-      <section id="style_def_geoterr">
+      <section xml:id="style_def_geoterr">
          <title>GEOCACHE_TERR</title>
          <para>GEOCACHE_TERR is valid only for geocaches and represents a DOUBLE
-   PRECISION FLOAT.  This is the geocache &quot;terrain&quot; rating as defined
-   by Groundspeak.  A &quot;three and a half star&quot; cache would therefore be &quot;3.5&quot;
+   PRECISION FLOAT.  This is the geocache "terrain" rating as defined
+   by Groundspeak.  A "three and a half star" cache would therefore be "3.5"
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">IFIELD GEOCACHE_TERR,&quot;&quot;,&quot;%3.1f&quot;
+         <screen>IFIELD GEOCACHE_TERR,"","%3.1f"
 </screen>
       </section>
-      <section id="style_def_geocontainer">
+      <section xml:id="style_def_geocontainer">
          <title>GEOCACHE_CONTAINER</title>
          <para>GEOCACHE_CONTAINER is valid only for geocaches and is heavily influenced
-   by the Groundspeak container types.   Examples would include &quot;Micro&quot;
-   and &quot;Virtual&quot;.
+   by the Groundspeak container types.   Examples would include "Micro"
+   and "Virtual".
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">GEOCACHE_CONTAINER,&quot;&quot;,&quot;%s&quot;
+         <screen>GEOCACHE_CONTAINER,"","%s"
 </screen>
       </section>
-      <section id="style_def_geotype">
+      <section xml:id="style_def_geotype">
          <title>GEOCACHE_TYPE</title>
          <para>GEOCACHE_TYPE is valid only for geocaches and is heavily influenced
-   by the Groundspeak cache types.   Examples would include &quot;Event cache&quot;
-   and &quot;Multi-Cache&quot;.
+   by the Groundspeak cache types.   Examples would include "Event cache"
+   and "Multi-Cache".
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">GEOCACHE_TYPE,&quot;&quot;,&quot;%s&quot;
+         <screen>GEOCACHE_TYPE,"","%s"
 </screen>
       </section>
-      <section id="style_def_geoplacer">
+      <section xml:id="style_def_geoplacer">
          <title>GEOCACHE_PLACER</title>
          <para>GEOCACHE_PLACER is a string containing the name of the placer of a
    geocache.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">GEOCACHE_PLACER,&quot;&quot;,&quot;%s&quot;
+         <screen>GEOCACHE_PLACER,"","%s"
 </screen>
       </section>
-      <section id="style_def_isavailable">
+      <section xml:id="style_def_isavailable">
          <title>GEOCACHE_ISAVAILABLE</title>
-         <para>GEOCACHE_ISAVAILABLE is a string containing &quot;True&quot; or &quot;False&quot;
+         <para>GEOCACHE_ISAVAILABLE is a string containing "True" or "False"
    indicating whether a geocache is currently available or not.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">GEOCACHE_ISAVAILABLE,&quot;&quot;,&quot;%s&quot;
+         <screen>GEOCACHE_ISAVAILABLE,"","%s"
 </screen>
       </section>
-      <section id="style_def_isarchived">
+      <section xml:id="style_def_isarchived">
          <title>GEOCACHE_ISARCHIVED</title>
-         <para>GEOCACHE_ISARCHIVED is a string containing &quot;True&quot; or &quot;False&quot;
+         <para>GEOCACHE_ISARCHIVED is a string containing "True" or "False"
    indicating whether a geocache has been archived.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">GEOCACHE_ISARCHIVED,&quot;&quot;,&quot;%s&quot;
+         <screen>GEOCACHE_ISARCHIVED,"","%s"
 </screen>
       </section>
-      <section id="style_def_geofound">
+      <section xml:id="style_def_geofound">
          <title>GEOCACHE_LAST_FOUND</title>
          <para>A long integer in format YYYYMMDD containing the last time this geocache
    was found.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">GEOCACHE_LAST_FOUND,&quot;&quot;,&quot;%ld&quot;
+         <screen>GEOCACHE_LAST_FOUND,"","%ld"
 </screen>
       </section>
-      <section id="style_def_geohint">
+      <section xml:id="style_def_geohint">
          <title>GEOCACHE_HINT</title>
          <para>The hint for this geocache.   No additional transformation (such as rot13)
    will be performed on this string.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">GEOCACHE_HINT,&quot;&quot;,&quot;%s&quot;
+         <screen>GEOCACHE_HINT,"","%s"
 </screen>
       </section>
-      <section id="style_def_pathdistmi">
+      <section xml:id="style_def_pathdistmi">
          <title>PATH_DISTANCE_MILES</title>
          <para>PATH_DISTANCE_MILES outputs the total length of the route or track from
    the start point to the current point, in miles.  This and the altitude
@@ -1039,28 +1039,28 @@ longitude)
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">PATH_DISTANCE_MILES,&quot;&quot;,&quot;%f&quot;
+         <screen>PATH_DISTANCE_MILES,"","%f"
 </screen>
       </section>
-      <section id="style_def_pathdistnm">
+      <section xml:id="style_def_pathdistnm">
          <title>PATH_DISTANCE_NAUTICAL_MILES</title>
          <para>PATH_DISTANCE_NAUTICAL_MILES is like PATH_DISTANCE_MILES except it outputs the
    length in nautical miles.
 </para>
       </section>
-      <section id="style_def_pathdistkm">
+      <section xml:id="style_def_pathdistkm">
          <title>PATH_DISTANCE_KM</title>
          <para>PATH_DISTANCE_KM is like PATH_DISTANCE_MILES except it outputs the
    length in kilometers.
 </para>
       </section>
-      <section id="style_def_pathdistm">
+      <section xml:id="style_def_pathdistm">
          <title>PATH_DISTANCE_METERS</title>
          <para>PATH_DISTANCE_METERS is like PATH_DISTANCE_MILES except it outputs the
    length in meters.
 </para>
       </section>
-      <section id="style_def_pathspeed">
+      <section xml:id="style_def_pathspeed">
          <title>PATH_SPEED</title>
          <para>Speed in meters per second. GPSBabel does NOT calculate this data by
    default; it is read from the input file if present.  (If not present,
@@ -1075,37 +1075,37 @@ longitude)
             filter.)</para>
          <para>example:
 </para>
-         <screen format="linespecific">PATH_SPEED,&quot;&quot;,&quot;%f&quot;
+         <screen>PATH_SPEED,"","%f"
 </screen>
       </section>
-      <section id="style_def_pathspeed_kph">
+      <section xml:id="style_def_pathspeed_kph">
          <title>PATH_SPEED_KPH</title>
          <para>Like PATH_SPEED but means kilometers per hour.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">PATH_SPEED_KPH,&quot;&quot;,&quot;%.1f&quot;
+         <screen>PATH_SPEED_KPH,"","%.1f"
 </screen>
       </section>
-      <section id="style_def_pathspeed_mph">
+      <section xml:id="style_def_pathspeed_mph">
          <title>PATH_SPEED_MPH</title>
          <para>Like PATH_SPEED but means miles per hour.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">PATH_SPEED_MPH,&quot;&quot;,&quot;%.1f&quot;
+         <screen>PATH_SPEED_MPH,"","%.1f"
 </screen>
       </section>
-      <section id="style_def_pathspeed_knots">
+      <section xml:id="style_def_pathspeed_knots">
          <title>PATH_SPEED_KNOTS</title>
          <para>Like PATH_SPEED but means knots (nautical).
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">PATH_SPEED_KNOTS,&quot;&quot;,&quot;%.1f&quot;
+         <screen>PATH_SPEED_KNOTS,"","%.1f"
 </screen>
       </section>
-      <section id="style_def_pathcourse">
+      <section xml:id="style_def_pathcourse">
          <title>PATH_COURSE</title>
          <para>Course in degrees.  GPSBabel does not calculate this data by default;
    it is read from the input file if present.  (If not present, it may be
@@ -1120,30 +1120,30 @@ longitude)
             filter.)</para>
          <para>example:
 </para>
-         <screen format="linespecific">PATH_COURSE,&quot;&quot;,&quot;%f&quot;
+         <screen>PATH_COURSE,"","%f"
 </screen>
       </section>
-      <section id="style_def_dop">
+      <section xml:id="style_def_dop">
          <title>GPS_HDOP / GPS_VDOP / GPS_PDOP</title>
          <para>GPS horizontal / vertical / positional dilution of precision
    parameters. Needs float conversion.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">GPS_HDOP,&quot;&quot;,&quot;%f&quot;
+         <screen>GPS_HDOP,"","%f"
 </screen>
       </section>
-      <section id="style_def_gpssat">
+      <section xml:id="style_def_gpssat">
          <title>GPS_SAT</title>
          <para>Number of satellites used for determination of the position. Needs
    integer conversion.
 </para>
          <para>example:
 </para>
-         <screen format="linespecific">GPS_SAT,&quot;&quot;,&quot;%d&quot;
+         <screen>GPS_SAT,"","%d"
 </screen>
       </section>
-      <section id="style_def_gpsfix">
+      <section xml:id="style_def_gpsfix">
          <title>GPS_FIX</title>
          <para>Type of fix (see GPX spec or
 
@@ -1156,10 +1156,10 @@ longitude)
             filter). Needs string conversion.</para>
          <para>example:
 </para>
-         <screen format="linespecific">GPS_FIX,&quot;&quot;,&quot;%s&quot;
+         <screen>GPS_FIX,"","%s"
 </screen>
       </section>
-      <section id="style_track_new">
+      <section xml:id="style_track_new">
          <title>TRACK_NEW</title>
          <para>If '1', it indicates that this trackpoint is the first point of a new track.  Needs integer conversion.</para>
          <para>example:
@@ -1169,9 +1169,9 @@ longitude)
 
 
 
-            <screen format="linespecific">IFIELD TRACK_NEW,&quot;&quot;,&quot;%d&quot;</screen></para>
+            <screen>IFIELD TRACK_NEW,"","%d"</screen></para>
       </section>
-      <section id="style_track_name">
+      <section xml:id="style_track_name">
          <title>TRACK_NAME</title>
          <para>The name of the track currently being operated on.  Needs string conversion.</para>
          <para>example:
@@ -1181,28 +1181,28 @@ longitude)
 
 
 
-            <screen format="linespecific">TRACK_NAME, &quot;&quot;, &quot;%s&quot;</screen></para>
+            <screen>TRACK_NAME, "", "%s"</screen></para>
       </section>
-      <section id="style_route_name">
+      <section xml:id="style_route_name">
          <title>ROUTE_NAME</title>
          <para>The name of the route currently being operated on.  Needs string conversion.</para>
          <para>example:
-            <screen format="linespecific">ROUTE_NAME, &quot;&quot;, &quot;%s&quot;</screen></para>
+            <screen>ROUTE_NAME, "", "%s"</screen></para>
       </section>
-      <section id="style_street_addr">
+      <section xml:id="style_street_addr">
          <title>STREET_ADDR</title>
          <para>Street address including house number.  Notice that this is not used for any geocoding, it's merely textual description associated with a position.</para>
          <para>example:
 
-            <screen format="linespecific">STREET_ADDR, &quot;&quot;, &quot;%s&quot;</screen></para>
+            <screen>STREET_ADDR, "", "%s"</screen></para>
       </section>
-      <section id="style_city">
+      <section xml:id="style_city">
          <title>CITY</title>
-         <para>The name of a city. Sometimes part of &quot;Points of Interest&quot;.   This is simple textual data associated with a position, no geocoding will be done..</para>
+         <para>The name of a city. Sometimes part of "Points of Interest".   This is simple textual data associated with a position, no geocoding will be done..</para>
          <para>example:
-            <screen format="linespecific">CITY, &quot;&quot;, &quot;%s&quot;</screen></para>
+            <screen>CITY, "", "%s"</screen></para>
       </section>
-      <section id="style_country">
+      <section xml:id="style_country">
          <title>COUNTRY</title>
          <para>The name of a country associated with a position.</para>
          <para>example:
@@ -1212,9 +1212,9 @@ longitude)
 
 
 
-            <screen format="linespecific">COUNTRY, &quot;&quot;, &quot;%s&quot;</screen></para>
+            <screen>COUNTRY, "", "%s"</screen></para>
       </section>
-      <section id="style_email">
+      <section xml:id="style_email">
          <title>EMAIL</title>
          <para>An email address associated with a position.</para>
          <para>example:
@@ -1224,9 +1224,9 @@ longitude)
 
 
 
-            <screen format="linespecific">EMAIL, &quot;&quot;, &quot;%s&quot;</screen></para>
+            <screen>EMAIL, "", "%s"</screen></para>
       </section>
-      <section id="style_facility">
+      <section xml:id="style_facility">
          <title>FACILITY</title>
          <para>The name of a facility to associate with a position.</para>
          <para>example:
@@ -1236,9 +1236,9 @@ longitude)
 
 
 
-            <screen format="linespecific">FACILITY, &quot;&quot;, &quot;%s&quot;</screen></para>
+            <screen>FACILITY, "", "%s"</screen></para>
       </section>
-      <section id="style_phone_nr">
+      <section xml:id="style_phone_nr">
          <title>PHONE_NR</title>
          <para>A phone number associated with a position.  This is just textual data attached for convenience.</para>
          <para>example:
@@ -1248,9 +1248,9 @@ longitude)
 
 
 
-            <screen format="linespecific">PHONE_NR, &quot;&quot;, &quot;%s&quot;</screen></para>
+            <screen>PHONE_NR, "", "%s"</screen></para>
       </section>
-      <section id="style_postal_code">
+      <section xml:id="style_postal_code">
          <title>POSTAL_CODE</title>
          <para>A postal code to associate with a position.  It is freeform text and is not used by GPSBabel for any geocoding or such.</para>
          <para>example:
@@ -1260,9 +1260,9 @@ longitude)
 
 
 
-            <screen format="linespecific">POSTAL_CODE, &quot;&quot;, &quot;%s&quot;</screen></para>
+            <screen>POSTAL_CODE, "", "%s"</screen></para>
       </section>
-      <section id="style_filename">
+      <section xml:id="style_filename">
          <title>FILENAME</title>
          <para>The name of the input file from where the points were loaded. This field is available only on output.</para>
          <para>example:
@@ -1272,9 +1272,9 @@ longitude)
 
 
 
-            <screen format="linespecific">OFIELD FILENAME, &quot;&quot;, &quot;%s&quot;</screen></para>
+            <screen>OFIELD FILENAME, "", "%s"</screen></para>
       </section>
-      <section id="style_format">
+      <section xml:id="style_format">
          <title>FORMAT</title>
          <para>The name of the input format from where format the points came. This field is available only on output.</para>
          <para>example:
@@ -1284,11 +1284,11 @@ longitude)
 
 
 
-            <screen format="linespecific">OFIELD FORMAT, &quot;&quot;, &quot;%s&quot;</screen></para>
+            <screen>OFIELD FORMAT, "", "%s"</screen></para>
       </section>
    </section>
    <!-- definitions -->
-   <section id="style_examples">
+   <section xml:id="style_examples">
       <title>Examples</title>
       <para>Here is one example style file from the GPSBabel source.
 
@@ -1318,19 +1318,19 @@ SHORTLEN 24
 #
 # INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE:
 #
-IFIELD LON_HUMAN_READABLE, &quot;&quot;, &quot;%08.5f&quot;
-IFIELD LAT_HUMAN_READABLE, &quot;&quot;, &quot;%08.5f&quot;
-IFIELD SHORTNAME, &quot;&quot;, &quot;%s&quot;
-IFIELD DESCRIPTION, &quot;&quot;, &quot;%s&quot;
-
-OFIELD LON_DECIMAL, &quot;&quot;, &quot;%08.5f&quot;
-OFIELD LAT_DECIMAL, &quot;&quot;, &quot;%08.5f&quot;
-OFIELD SHORTNAME, &quot;&quot;, &quot;%-.24s&quot;
-OFIELD GEOCACHE_TYPE, &quot;&quot;, &quot; %-.4s&quot;, &quot;no_delim_before,optional&quot;
-OFIELD GEOCACHE_CONTAINER, &quot;&quot;, &quot;/%-.4s &quot;, &quot;no_delim_before,optional&quot;
-OFIELD GEOCACHE_DIFF, &quot;&quot;, &quot;(%3.1f&quot;, &quot;no_delim_before,optional&quot;
-OFIELD GEOCACHE_TERR, &quot;&quot;, &quot;/%3.1f)&quot;, &quot;no_delim_before,optional&quot;
-OFIELD DESCRIPTION, &quot;&quot;, &quot;%-.50s&quot;
+IFIELD LON_HUMAN_READABLE, "", "%08.5f"
+IFIELD LAT_HUMAN_READABLE, "", "%08.5f"
+IFIELD SHORTNAME, "", "%s"
+IFIELD DESCRIPTION, "", "%s"
+
+OFIELD LON_DECIMAL, "", "%08.5f"
+OFIELD LAT_DECIMAL, "", "%08.5f"
+OFIELD SHORTNAME, "", "%-.24s"
+OFIELD GEOCACHE_TYPE, "", " %-.4s", "no_delim_before,optional"
+OFIELD GEOCACHE_CONTAINER, "", "/%-.4s ", "no_delim_before,optional"
+OFIELD GEOCACHE_DIFF, "", "(%3.1f", "no_delim_before,optional"
+OFIELD GEOCACHE_TERR, "", "/%3.1f)", "no_delim_before,optional"
+OFIELD DESCRIPTION, "", "%-.50s"
 </literallayout>
          When used on a Groundspeak Pocket Query, it will output lines that
 look like:
@@ -1352,13 +1352,13 @@ look like:
          subdirectory of the GPSBabel source tree or at the
 
 
-         <ulink url="https://github.com/gpsbabel/gpsbabel/tree/master/style">online source.</ulink>
+         <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://github.com/gpsbabel/gpsbabel/tree/master/style">online source.</link>
          .</para>
    </section>
    <!-- examples -->
-   <section id="style_notes">
+   <section xml:id="style_notes">
       <title>Miscellaneous Notes</title>
-      <section id="style_notes_default">
+      <section xml:id="style_notes_default">
          <title>Default Values</title>
          <para>Default values are supported for any output fields that contain pure
    character data output such as URL and NOTES.  Default values are only
@@ -1370,4 +1370,3 @@ look like:
    </section>
    <!-- notes -->
 </appendix>
-<!-- style -->
index 555ed86385e5c1e01f161214e1955993af92071c..ce7bec3e82b24e4399cdd63bc809b421400814fc 100644 (file)
@@ -1,6 +1,6 @@
-<chapter id="Usage">
+<chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="Usage">
   <title>Usage</title>
-  <sectid="Invocation">
+  <section xml:id="Invocation">
     <title>Invocation</title>
     <para>If you're using GPSBabel, you will need to know how to do at least two things:
 read data from a file, and write it to another file.  There are four basic
@@ -92,29 +92,29 @@ name of a file to be read or written.</para>
     <para>This command will read from a Magellan unit attached
          to the first serial port on a Linux system (device names will
          vary on other OSes; typically COMx: on Windows) and write them as a geocaching loc file.</para>
-    <example id="linux_download_from_magellan">
+    <example xml:id="linux_download_from_magellan">
       <title>Command showing Linux download from Magellan serial and writing to .loc file</title>
       <para>
         <userinput>gpsbabel -i magellan -f /dev/ttyS0 -o geo -F mag.loc</userinput>
       </para>
     </example>
     <para>This second command does the same on Microsoft Windows.</para>
-    <example id="windows_download_from_magellan">
+    <example xml:id="windows_download_from_magellan">
       <title>Command showing Windows download from Magellan serial and writing to .loc file</title>
       <para>
         <userinput>gpsbabel -i magellan -f com1 -o geo -F mag.loc</userinput>
       </para>
     </example>
     <para>Optionally, you may specify
-      <parameter moreinfo="none">-s</parameter>
+      <parameter>-s</parameter>
       in any command line.  This
-         causes the program to ignore any &quot;short&quot; names that may be
+         causes the program to ignore any "short" names that may be
          present in the source data format and synthesize one from the
          long name.  This is particularly useful if you're writing to
          a target format that isn't the lowest common denominator but
          the source data was written for the lowest common
          denominator.  This is useful for writing data from geocaching.com
-         to a GPS so my waypoints have &quot;real&quot; names instead of
+         to a GPS so my waypoints have "real" names instead of
          the 'GC1234' ones that are optimized for receivers of the lowest
   common denominator.
          A geocacher using Linux with a Magellan receiver may thus find commands
@@ -126,8 +126,8 @@ name of a file to be read or written.</para>
     <para>
       <userinput>gpsbabel -s -i geo -f geocaching.loc -o magellan -F com1</userinput>
     </para>
-  </sect1>
-  <sectid="Suboptions">
+  </section>
+  <section xml:id="Suboptions">
     <title>Suboptions</title>
     <para>Many of the available format options in GPSBabel can themselves
     take options.   While we try to make all the formats do the most
@@ -140,7 +140,7 @@ name of a file to be read or written.</para>
       <xref linkend="fmt_kml"/>
       :</para>
     <para>
-      <userinput>gpsbabel -i gpx -f file.gpx -o kml,deficon=&quot;file://myicon.png&quot;,lines=0 -F one.kml -o kml -F two.kml</userinput>
+      <userinput>gpsbabel -i gpx -f file.gpx -o kml,deficon="file://myicon.png",lines=0 -F one.kml -o kml -F two.kml</userinput>
     </para>
     <para>This command will read the GPX file
       <filename>file.gpx</filename>
@@ -158,8 +158,8 @@ name of a file to be read or written.</para>
   filetype are documented on the page in this document that describes
   the option itself.
   </para>
-  </sect1>
-  <sectid="Advanced_Usage">
+  </section>
+  <section xml:id="Advanced_Usage">
     <title>Advanced Usage</title>
     <para>Argument are processed in the order they appear on the command
 line and are translated internally into a pipeline that data flows
@@ -176,32 +176,32 @@ merged data to multiple destinations.
 </para>
     <para>The input file type remains unchanged until a new
 
-      <parameter moreinfo="none">-i</parameter>
+      <parameter>-i</parameter>
       argument is seen.
          Files are read in the order they appear. So you could merge
          three input files into one output file with: </para>
-    <example id="merging_files">
+    <example xml:id="merging_files">
       <title>Merging multiple files into one</title>
       <para>
         <userinput>gpsbabel -i geo -f 1.loc -f 2.loc -f 3.loc -o geo -F big.loc</userinput>
       </para>
     </example>
     <para>You can merge files of different types:</para>
-    <example id="merging_different_types_of_files">
+    <example xml:id="merging_different_types_of_files">
       <title>Merging multiple files of differing types.</title>
       <para>
         <userinput>gpsbabel  -i geo -f 1.loc -i gpx -f 2.gpx -i pcx 3.pcx  -o gpsutil -F big.gps</userinput>
       </para>
     </example>
-    <example id="multiple_writes">
+    <example xml:id="multiple_writes">
       <title>Writing the same data in multiple output formats.</title>
       <para>You can write the same data in different output formats:</para>
       <para>
         <userinput>gpsbabel -i geo -f 1.loc -o gpx -F 1.gpx -o pcx -F 1.wpt</userinput>
       </para>
     </example>
-  </sect1>
-  <sectid="Route_And_Track_Modes">
+  </section>
+  <section xml:id="Route_And_Track_Modes">
     <title>Route and Track Modes</title>
     <para>Most formats supported by GPSBabel will make a reasonable attempt to work
          transparently with waypoints, tracks, and routes.  Some
@@ -210,13 +210,13 @@ merged data to multiple destinations.
       and
       <link linkend="fmt_magellan">magellan</link>
       require the
-      <parameter moreinfo="none">-t</parameter>
+      <parameter>-t</parameter>
       flag to work with tracks and
 
-      <parameter moreinfo="none">-r</parameter>
+      <parameter>-r</parameter>
       to work with
          routes.
-      <parameter moreinfo="none">-w</parameter>
+      <parameter>-w</parameter>
       is for
          waypoints, and is the default. So if you wanted to read all
          data from a Magellan Meridian GPS receiver into a gpx file, you might use a command
@@ -243,17 +243,17 @@ merged data to multiple destinations.
          always result in a list of waypoints, not the original track.
 </para>
     <para>The presence of
-      <parameter moreinfo="none">-s</parameter>
+      <parameter>-s</parameter>
       on the command line tends to
          create havoc on tracks and routes since many of these formats
          rely on internal linkages between such points and renaming
          them may break those linkages.  In general, don't use
 
-      <parameter moreinfo="none">-s</parameter>
+      <parameter>-s</parameter>
       when tracks or
          routes are present.</para>
-  </sect1>
-  <sectid="inifile">
+  </section>
+  <section xml:id="inifile">
     <title>Working with predefined options</title>
     <para>GPSBabel can read a file on startup to set defaults for options. All
       module and filter options may be set this way.
@@ -315,7 +315,7 @@ merged data to multiple destinations.
         <para>current working directory</para>
       </listitem>
       <listitem>
-        <para>Windows: all paths &quot;APPDATA&quot;, &quot;WINDIR&quot;, &quot;SYSTEMROOT&quot; declared in environment.</para>
+        <para>Windows: all paths "APPDATA", "WINDIR", "SYSTEMROOT" declared in environment.</para>
       </listitem>
       <listitem>
         <para>Unix like OS'ses:
@@ -335,10 +335,10 @@ merged data to multiple destinations.
        The inifile mechanism can be disabled with an empty filename.
     </para>
     <para>
-      <userinput>gpsbabel -p &quot;&quot; -i gpx -f something.gpx -o tiger -F -</userinput>
+      <userinput>gpsbabel -p "" -i gpx -f something.gpx -o tiger -F -</userinput>
     </para>
-  </sect1>
-  <sectid="tracking">
+  </section>
+  <section xml:id="tracking">
     <title>Realtime tracking</title>
     <para>Introduced in GPSBabel 1.3.1, we now have an
       <emphasis>experimental</emphasis>
@@ -355,7 +355,7 @@ merged data to multiple destinations.
     inputs. KML, NMEA, and the various XCSV formats are supported on
     output.   Additional formats may be added by interested parties
     later.</para>
-    <example id="realtime_reading">
+    <example xml:id="realtime_reading">
       <title>Read realtime positioning from Garmin USB, write to Keyhole Markup</title>
       <para>
         <userinput>gpsbabel -T -i garmin -f usb: -o kml -F example.kml</userinput>
@@ -364,7 +364,7 @@ merged data to multiple destinations.
           suitable for a self-refreshing network link in Google Earth.
         </para>
     </example>
-    <example id="realtime_reading_wintec">
+    <example xml:id="realtime_reading_wintec">
       <title>Read realtime positioning from Wintec WBT-201 via Bluetooth on Mac, write to Keyhole Markup</title>
       <para>
         <userinput>gpsbabel -T -i nmea -f /dev/cu.G-Rays2-SPPslave-1 -o kml -F example.kml</userinput>
@@ -389,10 +389,10 @@ merged data to multiple destinations.
 
       <link linkend="fmt_garmin">Garmin USB</link>
       .    These names
-            (except the &quot;usb:&quot; parlance for Garmin USB) are assigned by
+            (except the "usb:" parlance for Garmin USB) are assigned by
             your operating system.</para>
-  </sect1>
-  <sectid="batchfile">
+  </section>
+  <section xml:id="batchfile">
     <title>Batch mode (command files)</title>
     <para>In addition to reading arguments from the command line, GPSBabel can
   read directions from batch (or command) files via the
@@ -417,10 +417,10 @@ merged data to multiple destinations.
       <member>-i gdb</member>
       <member>-f croatia_2006.gdb</member>
       <member>-x nuketypes,waypoints,routes</member>
-      <member>-x track,pack,split,title=&quot;LOG # %Y%m%d&quot;</member>
+      <member>-x track,pack,split,title="LOG # %Y%m%d"</member>
     </simplelist>
-  </sect1>
-  <sectid="all_options">
+  </section>
+  <section xml:id="all_options">
     <title>List of Options</title>
     <para>The complete list of available options to GPSBabel can be obtained by
    running
@@ -434,9 +434,9 @@ merged data to multiple destinations.
       <xref linkend="inifile"/>
       for more info.</para>
     <para>
-      <option>-s</option>Write &quot;smart&quot; names.  This option influences some - but not all - of our writers to try to build &quot;smart&quot; waypoint names.   For example, in modules that know about geocaching, it may replace &quot;GC1234&quot; with the actual name of the geocache.</para>
+      <option>-s</option>Write "smart" names.  This option influences some - but not all - of our writers to try to build "smart" waypoint names.   For example, in modules that know about geocaching, it may replace "GC1234" with the actual name of the geocache.</para>
     <para>
-      <option>-r</option>Work on routes.  This option has a subtly different meaning in different cases.  As the very first formats in GPSBabel were for serial GPSes and routes and tracks were large and thus time-consuming to transfer, the default was waypoints only with this option to turn on the extra data.   Some of our file formats use this option to mean &quot;work only on routes, even if you have tracks/waypoints&quot;, but we're trying to discourage that behavior and in most cases, consider it a bug. </para>
+      <option>-r</option>Work on routes.  This option has a subtly different meaning in different cases.  As the very first formats in GPSBabel were for serial GPSes and routes and tracks were large and thus time-consuming to transfer, the default was waypoints only with this option to turn on the extra data.   Some of our file formats use this option to mean "work only on routes, even if you have tracks/waypoints", but we're trying to discourage that behavior and in most cases, consider it a bug. </para>
     <para>
       <option>-t</option>Work on tracks.  See
       <option>-r</option>
@@ -458,5 +458,5 @@ merged data to multiple destinations.
       <option>-?</option>Print help. </para>
     <para>
       <option>-V</option>Print version number. </para>
-  </sect1>
+  </section>
 </chapter>
diff --git a/xmldoc/convertdoc b/xmldoc/convertdoc
new file mode 100755 (executable)
index 0000000..047e425
--- /dev/null
@@ -0,0 +1,76 @@
+#!/bin/bash -e
+
+fixem() {
+encapsulate=$1
+echo encapsulate "$encapsulate"
+for file in *.xml
+do
+if [ "$file" != "allchapters.xml" ]; then
+if [ "$file" !=  "_chapters.xml" ]; then
+  echo  "converting $file ($(wc -c "$file" | awk '{print $1}') bytes)"
+  if [ "$encapsulate" = "yes" ]; then
+    echo -e "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE book PUBLIC \"-//OASIS//DTD DocBook XML V4.5//EN\" \"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\">\n<book><chapter><title>T</title>\n$(cat $file)" > "$file"
+    echo "</chapter></book>" >> "$file"
+  fi
+  xmllint --noout --valid "$file" || true
+  # db4-upgrade.xsl from https://docbook.org/xml/5.1/docbook-v5.1-os.zip
+  xsltproc  -o "$file".new /home/tsteven4/builds/docbook-v5.1/tools/db4-upgrade.xsl "$file"
+  if [ "$encapsulate" == "yes" ]; then
+    head --lines=-1 "$file".new | tail --lines=+3 > "$file"
+  else
+    tail --lines=+2 "$file".new > "$file"
+  fi
+  rm "$file".new
+fi
+fi
+done
+}
+
+pushd xmldoc
+pushd formats
+fixem yes
+# 4.5 productname defaulted to class=trade.  5.0 does not, use trademark
+for file in *.xml
+do
+  echo -e "<fake>\n$(cat $file)" > "$file"
+  echo "</fake>" >> "$file"
+  xsltproc -o "$file".trademark ../tmissue.xsl "$file"
+  head --lines=-1 "$file".trademark | tail --lines=+2 > "$file" 
+  rm "$file".trademark
+done
+pushd options
+# for some reason the upgrade wants to insert a ^L character in gpx-urlbase.xml unless we
+sed -e 's|\\|\\\\|g' -i  gpx-urlbase.xml 
+sed -e 's|\\|\\\\|g' -i  subrip-format.xml
+sed -e 's|\\|\\\\|g' -i  exif-filename.xml
+fixem yes
+popd
+popd
+pushd filters
+fixem yes
+pushd options
+fixem yes
+popd
+popd
+pushd chapters
+sed -e 's|&filters;|[[[filters]]]|' -i filters.xml
+sed -e 's|&formats;|[[[formats]]]|' -i formats.xml
+fixem no
+sed -e 's|\[\[\[filters\]\]\]|\&filters;|' -i filters.xml
+sed -e 's|\[\[\[formats\]\]\]|\&formats;|' -i formats.xml
+#sed -i -e '$a\' formats.xml
+#sed -i -e '$a\' filters.xml
+popd
+# the 5.1 version of db4-update.xsl drops the term/ulink
+patch -p0 <build.patch
+nonewlines=$(pcregrep -LMr '\n\Z' .)
+for file in ${nonewlines[@]}
+do
+  echo fixing newline in "$file"
+  sed -i -e '$a\' "$file"
+done
+popd
+perl xmldoc/makedoc
+
+
+
index d34b45d830fa076df08cf517e94ee44725facde5..7f3978b4887640b5d54b92971b7ddf3158435755 100644 (file)
@@ -13,7 +13,7 @@ included by preceding them with a '#' character.  An arc file looks
 something like this sample:
 </para>
 
-<screen format="linespecific">
+<screen>
 # Lima Road/SR3 north of Fort Wayne, Indiana
 41.150064468    -85.166207433
 41.150064468    -85.165371895
@@ -30,14 +30,13 @@ such a gap by inserting a line containing "#break" either on a line by
 itself or after the coordinates of the starting point of the new arc segment.
 </para>
 
-<example id="example_arc_filter">
+<example xml:id="example_arc_filter">
 <title>Using the arc filter</title>
 <para>
 Assuming the arc above is in a file called
-<filename moreinfo="none">lima_rd.txt</filename>, the following command line
+<filename>lima_rd.txt</filename>, the following command line
 would include only points within one mile of the section of Lima Road
 covered by the arc.
 </para>
 <para><userinput>gpsbabel -i geo -f 1.loc -x arc,file=lima_rd.txt,distance=1 -o mapsend -F 2.wpt</userinput></para>
 </example>
-
index 677ee2cd86acd935781ac543d99aeab8bcc5a902..a6a69e616ae677220d44e3afe2fe53cd1b3eea21 100644 (file)
@@ -29,4 +29,3 @@ larger than 5 degrees.</para>
 <para><userinput>gpsbabel -i gpx -f route.gpx -x
 bend,distance=25,interpolate,minangle=5 -o gpx -F newroute.gpx
 </userinput></para>
-
index e3804ea651866ff813cd31552d78af5b103ad844..8e224b3ff306105120c4dc65bb419bfa5941e22e 100644 (file)
@@ -8,7 +8,7 @@ that must have been in view for a fix to be considered, or both.
 HDOP and VDOP are measures of the best possible horizontal or vertical precision for a given configuration of GPS satellites.   Higher numbers indicate a higher dilution of precision and therefore mathematically less useful.
 </para>
 <para>
-<example id="example_discard_filter">
+<example xml:id="example_discard_filter">
 <title>Using the discard filter for HDOP and VDOP. </title>
 <para><userinput> gpsbabel -i gpx -f in.gpx -x discard,hdop=10,vdop=20,hdopandvdop -o gpx -F out.gpx</userinput></para>
 </example>
@@ -17,10 +17,9 @@ HDOP and VDOP are measures of the best possible horizontal or vertical precision
 You may specify a minimum number of  satellites.
 </para>
 <para>
-<example id="example_discard_filter_sats">
+<example xml:id="example_discard_filter_sats">
 <title>Using the discard filter to require at least three satellites. </title>
 <para><userinput> gpsbabel -i gpx -f in.gpx -x discard,sat=3 -o gpx -F out.gpx</userinput></para>
 </example>
 </para>
 <para> Contributed by Tobias Minich and Serge Droz. </para>
-
index 46a8f09f591dbdd93dfa570aab5d97def550b10c..922522f492d1a7877bfcfbac119d58668cc4f698 100644 (file)
@@ -6,7 +6,7 @@ options that specify how duplicates will be recognized,
 <option>shortname</option> and <option>location</option>.
 Generally, at least one of these options is required.
 </para>
-<example id="duplicate_to_suppress_points">
+<example xml:id="duplicate_to_suppress_points">
   <title>Using the duplicate filter to suppress points with the same
          name and location</title>
   <para>
@@ -17,4 +17,3 @@ Generally, at least one of these options is required.
   </para>
   <para><userinput> gpsbabel -i gpx -f 1.gpx -f 2.gpx -x duplicate,location,shortname -o gpx -F merged_with_no_dupes.gpx</userinput></para>
 </example>
-
index 549877789301bab643796c1494855ef0a164c386..e8c058bbdb1caebd3d42b3419c6f7a0cf971d5f4 100644 (file)
@@ -8,15 +8,13 @@ The height filter allows for the correction of these altitude values. This filte
 <option>wgs84tomsl</option> and <option>add</option>.
 At least one of these options is required, both can be combined.
 </para>
-<example id="height_wgs84tomsl">
+<example xml:id="height_wgs84tomsl">
   <title> This option subtracts the WGS84 geoid height from every altitude. For GPS receivers like the iBlue747 the result is the height above mean see level.</title>
   <para><userinput> gpsbabel -i gpx -f in.gpx -x height,wgs84tomsl -o gpx -F out.gpx</userinput></para>
   <para>The coordinates and altitude vales must be based an the WGS84 ellipsoid for this option to produce sensible results</para>
 </example>
-<example id="height_add">
+<example xml:id="height_add">
   <title> This options adds a constant value to every altitude.</title>
   <para><userinput> gpsbabel -i gpx -f in.gpx -x height,add=10.2f -o gpx -F out.gpx</userinput></para>
   <para>You can specify negative numbers to subtract the value. If no unit is specified meters are assumed. For feet you can attach an "f" to the value.</para>
 </example>
-
-
index 174d48b296c0b25d549c4f4b74663c386c778014..05f6ae2e8f58ced9b27e737da50af74382666bf3 100644 (file)
@@ -6,7 +6,7 @@ line (actually a great circle) between the adjacent points.  You
 must specify either the
 <option>distance</option> or the <option>time</option> option.
 </para>
-<example id="example_interpolate_filter">
+<example xml:id="example_interpolate_filter">
 <title>Using the interpolate filter</title>
 <para>
 This command line reads track.gpx and inserts points wherever two adjacent
index 4bad55ed34ad8494fb227e073a1e8ad27d4e66a2..81d83816806d7389d8fadac68560f188a111ae03 100644 (file)
@@ -3,7 +3,7 @@ There are three main types of data that GPSBabel deals with:
 waypoints, tracks, and routes.   The nuketypes filter allows
 removing all the data of any or all of those three types.
 </para>
-<example id="example_nuketypes_filter">
+<example xml:id="example_nuketypes_filter">
 <title>Filtering data types with nuketypes</title>
 <para>
 If you have a GPX file that contains routes, tracks, and
@@ -13,4 +13,3 @@ with this command:
 </para>
 <para><userinput>gpsbabel -i gpx -f bigfile.gpx -x nuketypes,waypoints,routes -o gpx -F tracksonly.gpx</userinput></para>
 </example>
-
index 8942edf7803c356c7a9de87cf69da97c38496a2e..b2ce7b246b5a72c8709f08e3e66c0c006679c4fa 100644 (file)
@@ -11,4 +11,3 @@ points that are further away are discarded.
 Distances may be specified in miles (3M) or kilometers (5K).  If no units
 are specified, the distance is assumed to be in miles.
 </para>
-
index 5a5e7a10f97fc3409d45901be5b5c37e926d9fee..e366f1dc734ee313990ba44614c15d3c27b78b37 100644 (file)
@@ -3,4 +3,3 @@ When this option is specified, the usual sense of the arc filter is reversed.
 That is, points that are closer than <varname>distance</varname> are discarded
 while points that are further away are kept.
 </para>
-
index 963bb363234b4be28911b794a20968c4949efc4f..a4012a887540a33c9e96ecb667cbba4c6917b73a 100644 (file)
@@ -7,4 +7,3 @@ GPSBabel supports converting any route or track to a file usable by this
 filter; simply read it in the normal way and write it using the
 <link linkend="fmt_arc">arc</link> file format.
 </para>
-
index 3a916a5eb104a8e0501edb1f6d2bfa5a230cacef..cc7d63e5c264036c47728c23a8e60518edeb63ce 100644 (file)
@@ -8,4 +8,3 @@ the lines between points are also kept.
 This option makes the arc filter act like a multi-point version of the
 <link linkend="filter_radius">radius</link> filter.
 </para>
-
index a1342200db772b6858290ebff7c3d788995c4785..45dac5a1abd2898563bfde3e08b3405928715ffb 100644 (file)
@@ -3,5 +3,3 @@
 <para>The new points will be created at this distance. The first one in the
 direction of the previous point, ant the second one in the direction
 of the next point in the route.</para>
-
-
index 824cc1e636e28bdbc4a17a24d6b1a75a6089b969..5fac76de4875e4f07782aedc75a1cdf6f3b20b61 100644 (file)
@@ -4,4 +4,3 @@
 greater than this value. This avoids replacing a point if the GPS unit
 is already pointing in the correct direction, or if the route reaches
 a certain point and goes back the same road.</para>
-
index 98887aba57fcb2da3a94d249128b633022629239..76a7c548c22fa4d794f0f85f994e4c42d130671d 100644 (file)
@@ -1,4 +1,3 @@
 <para>
 This option drops waypoints with an altitude higher than the specified value (in meters).   See elemin for an explanation why this may be useful.
 </para>
-
index 6310fb5d9f79a128c4c796d6ff3fe221f9ea54b7..60aeeca4908508375c056e53533c52bf2790b494 100644 (file)
@@ -4,4 +4,3 @@ Precision (HDOP).  By default, any point with an HDOP in excess of
 this value will be discarded regardless of its VDOP, but see
 <option>hdopandvdop</option>.
 </para>
-
index e14cc6472dc94e99a753384fdcf61b324dcfed91..42f756a0195811d264845533af2493e198334c81 100644 (file)
@@ -1,4 +1,3 @@
 <para>
 Like <option>matchname</option>, but instead matches on the comment.
 </para>
-
index 40e820eb95d0b9b452579cdca6ae105331b2742a..9ec4d977f83bb6ec122de0202bb5807a9596dc40 100644 (file)
@@ -2,7 +2,7 @@
 This option discards points that have shortnames that match the
 provided regular expression.
 </para>
-<example id="discarding_points_with_names">
+<example xml:id="discarding_points_with_names">
 <title>Discarding specific point by regular expression</title>
 <para>
 For example geocaches typically have names starting with GC followed
index dd7cfb36146da638a8ef8cbc9d6486b6828bb27b..4468d7848c69ec6b97cd9d7e722a1aeaa286fe3d 100644 (file)
@@ -1,4 +1,3 @@
 <para>
 This option specifies the minimum required number of satellites.
 </para>
-
index 30aebdb284224c554509e9a1f9474e88cc2390a3..2d1cd9539bbcef5b0202038336b3d13d07c39d4b 100644 (file)
@@ -4,4 +4,3 @@ Precision (VDOP).  By default, any point with an VDOP in excess of
 this value will be discarded regardless of its HDOP, but see
 <option>hdopandvdop</option>.
 </para>
-
index 4eaa052f9a50870a2eee84b51113db6ed733bb5b..7814d77a5ff35c5d538c500cb38f99e702587ce7 100644 (file)
@@ -5,7 +5,7 @@ your input file contains waypoints A, B, B, and C, the output file will
 contain waypoints A, B, and C without the <option>all</option> option,
 or just A and C with the <option>all</option> option.
 </para>
-<example id="duplicate_to_ignore">
+<example xml:id="duplicate_to_ignore">
 <title>Using the duplicate filter to implement an "ignore list."</title>
 <para>
 This option may be used to implement an "ignore list."  In the following
@@ -14,4 +14,3 @@ ignored from a larger collection of waypoints:
 </para>
 <para><userinput>gpsbabel -i gpx -f waypoints.gpx -i csv -f to_ignore.csv -x duplicate,shortname,all -o gpx -F filtered.gpx</userinput></para>
 </example>
-
index a1d8097005b628d115ee056f40b5a92611066ad4..5a17b72d8145d852a0fdf41e473776c5985da839 100644 (file)
@@ -8,7 +8,7 @@ longitude in the original waypoint.
 As an example, this option may be used to adjust the locations of "puzzle"
 geocaches in a Groundspeak pocket query:
 </para>
-<example id="Correcting_Cache_Locations">
+<example xml:id="Correcting_Cache_Locations">
 <title>Using the duplicate filter to correct the locations of "puzzle"
 geocaches</title>
 <para><userinput>gpsbabel -i gpx -f 43622.gpx -i csv -f corrections.csv -x duplicate,shortname,correct -o gpx -F 43622-corrected.gpx</userinput></para>
index 67b040ba67858613619d369f639b9cec9a3ee048..74bed1eda6d8df88ab145b63761b306f0dc06c1a 100644 (file)
@@ -6,4 +6,3 @@ names are not expected to be the same.  It also might be used along with the
 <option>shortname</option> option to remove duplicate waypoints if the names
 of several unrelated groups of waypoints might be the same.
 </para>
-
index d24ff392bd02948f7a387b19c4f6e1030af1465d..d9c6961a4713bb4501cdd332921358265ad8015c 100644 (file)
@@ -5,5 +5,3 @@ a short name with a waypoint that has come before.  This option might be
 used to remove duplicates if you are merging two datasets that were
 each created in part from a common ancestor dataset.
 </para>
-
-
index 4cef24f6bfad7790f06c21db4f3c7d3392735e56..913d40df8291774ba75e5a8fcbb14983332e9283 100644 (file)
@@ -10,4 +10,3 @@ no units are specified, the units are assumed to be miles.
 <para>
 Either this option or the <option>time</option> must be specified.
 </para>
-
index 4bdfe5669bc025a7b1dd8b258e2e2ccc5750d4c0..9cc27e38c8527ae2f133a0f3bd87c10ce73bfc61 100644 (file)
@@ -9,4 +9,3 @@ This value is always specified in units of seconds.
 <para>
 Either this option or the <option>distance</option> must be specified.
 </para>
-
index 9c70b59bae4417ab6b7bc2f23f258176dd82dbe4..42668f61375f7cb32a1049975aa5aa7859d2c0e1 100644 (file)
@@ -1,4 +1,3 @@
 <para>
 This option causes the nuketypes filter to discard all route data.
 </para>
-
index 536c9d6cc4b800ba2d99fa039737ea41d0df6de0..0ae63279dcdd18a4b570e2e5e616d498c73b4366 100644 (file)
@@ -1,4 +1,3 @@
 <para>
 This option causes the nuketypes filter to discard all track data.
 </para>
-
index 00edd4bd2f43200e6deafaaac69fbdb4fee4efcd..e81602012891da71088972d413ca7251e74c0b49 100644 (file)
@@ -2,4 +2,3 @@
 This option causes the nuketypes filter to discard all waypoints that are not
 associated with a track or route.
 </para>
-
index cce1cd82f264c7939610fb74b9fddcfbf9f70380..efee6e045366c91584000d083f10d42d505a10cc 100644 (file)
@@ -3,4 +3,3 @@ When this option is specified, the usual sense of the polygon filter is
 reversed.   That is, points that are inside the polygon are discarded
 while points that are further away are kept.
 </para>
-
index 31a967c2852b8e12d26252b42e99e0e511e9152d..57376b0396394f49adb4bddd63891d26759f2ab4 100644 (file)
@@ -13,4 +13,3 @@ need to make sure that the first point and the last point in the
 file are the same, as the polygon filter depends on that.  You can do so
 with any text editor.
 </para>
-
index 16e59e5a8a4414c705607dde292491342459b802..79744ddc28a4d80ef9ea713faa94355b1f4871a7 100644 (file)
@@ -5,4 +5,3 @@ the specified distance of one another, rather than leaving just one of them.
 <para>
 This option may be used to entirely remove clusters of points.
 </para>
-
index d85b1762a03a79c727261660d6da352cf3c2521a..03bc9be0eae46524492e7f2ae5569f2daff53734 100644 (file)
@@ -6,4 +6,3 @@ two points are closer than this distance, only one of them is kept.
 Distances may be expressed in feet (30f) or meters (10m).  If no unit is
 specified, the distance is assumed to be in feet.
 </para>
-
index aff16e2be11e21d611c2fcf68a452c6e1a606a66..e932309278452ff5e192f843d3cb35e2d3808ce4 100644 (file)
@@ -9,5 +9,3 @@ Note that this route is not necessarily the most efficient route to visit
 all of the points.  In fact, for some data sets, it might be the least
 efficient route.
 </para>
-
-
index 1a228e08a12d0190380d95c442c48b83ae790469..d122665b26b60037daa03d11f1786666d894309c 100644 (file)
@@ -19,4 +19,3 @@ otherwise throw away.  You will still get no more than
 <varname>maxcount</varname> points, but they will all be at least
 <varname>distance</varname> away from the center.  (And possibly sorted.)
 </para>
-
index 42ba6d5e51d8361e6ae251a9262004eef885c37a..91c1c724813f03054c0eda36c29c28c99460290b 100644 (file)
@@ -3,4 +3,3 @@ If this option is specified, the radius filter will not sort the remaining
 points by distance from the center.  They will remain in whatever order they
 were originally.
 </para>
-
index eb7600f0c1127a7631c36d903c6e31479996e41b..7ac8ca2a9fa970eaba13cfaf0c71213e7601c329 100644 (file)
@@ -8,4 +8,3 @@ between the two points adjacent to it.
 If neither this option nor the <option>length</option> option is specified,
 this is the default.
 </para>
-
index 59bcefe2e65e0bfab05d90c1e22aeeb67a1e7e05..2a088ded5cab231b0bbb9c0703e16d3200e387a4 100644 (file)
@@ -5,4 +5,3 @@ should never need to specify it, but it is included for the sake of
 readability.  When this option is specified, the popped state replaces
 the current state.
 </para>
-
index b9687445670443e3855fe8110cc94bb6873b1525..64b24911180c7fdb27036c38e72101fe5f568525 100644 (file)
@@ -7,4 +7,3 @@ state from the stack.  By default, it is swapped with the top of the stack,
 but the <option>depth</option> can be used to specify a different saved
 state.
 </para>
-
index 1de9c41eaec966999a9c45a708f7b1383be402ad..345cb461f69521668f22a907a4a17abbd0a67363 100644 (file)
@@ -7,4 +7,3 @@ filter.  The heading at each trackpoint is simply the course from the
 previous trackpoint in the track.  The first trackpoint in each track
 is arbitrarily assigned a heading of 0 degrees.
 </para>
-
index a77b79dadaeef573c8ccc0646d341caa8113a69d..5db143afc5ad782a66058359d0db06b855a92302 100644 (file)
@@ -2,11 +2,10 @@
 This option is used in conjunction with the merge option to discard track points with missing
 timestamps instead of aborting with the "Found track point at lat,lon without time!" error.
 </para>
-<example id="ex_track_discard">
+<example xml:id="ex_track_discard">
 <title>Merging tracks with missing timestamps with the track filter</title>
 <para>
 Suppose you want to merge tracks that may have missing timestamps.  To do that, use this command line:
 </para>
 <para><userinput>gpsbabel -t -i gpx -f john.gpx -f doe.gpx -x track,merge,discard -o gpx -F john_doe.gpx</userinput></para>
 </example>
-
index 15955ffc21ec9756204cb743b833c16175a63fae..0e7bd37b13406f2a366814831e4019fb3cae781f 100644 (file)
@@ -21,7 +21,7 @@ The specification of the steptime is optional.
 The parameter was added because some software products (e.g. garmin training center)
 require a time value for each trackpoint.
 </para>
-<example id="ex_track_faketime1">
+<example xml:id="ex_track_faketime1">
 <title>Replace time values of a track</title>
 <para>
 Replace all time values with new time values.
@@ -30,7 +30,7 @@ increment 2 seconds between each trackpoint:
 </para>
 <para><userinput>gpsbabel -i kml -f in.kml -x track,faketime=f20100705200000+2 -o gtrnctr -F out.tcx</userinput></para>
 </example>
-<example id="ex_track_faketime2">
+<example xml:id="ex_track_faketime2">
 <title>Add time values to a track</title>
 <para>
 Add a time value to a trackpoint, if the trackpoint contains no time value.
index 7b843b4de2086aab9b623c2b571aaed89656d273..ed195cdd1d94503990cdd8315325168bf44d02b0 100644 (file)
@@ -6,4 +6,3 @@ value.  Valid values for this option are PPS, DGPS, 3D, 2D, or NONE.
 This option is most useful when converting from a format that doesn't
 contain GPS fix status to one that requires it.
 </para>
-
index 7b9e4ceb24ffae108491569a2c92ed78c68b76f8..f6e08f36113ac285c3bbfa61eb56ca2b76282d97 100644 (file)
@@ -2,7 +2,7 @@
 This option puts all track points from all tracks into a single track
 and sorts them by time stamp.  Redundant points with identical time stamps will be dropped.
 </para>
-<example id="ex_track_merge">
+<example xml:id="ex_track_merge">
 <title>Merging tracks with the track filter</title>
 <para>
 Suppose you want to merge tracks recorded with two different GPS devices
@@ -10,4 +10,3 @@ at the same time.  To do that, use this command line:
 </para>
 <para><userinput>gpsbabel -t -i gpx -f john.gpx -i gpx -f doe.gpx -x track,merge,title="COMBINED LOG" -o gpx -F john_doe.gpx</userinput></para>
 </example>
-
index e3dd19ff736b9c20aaec705ba22668ee59d60535..c7a09cb846a2ddd5454985b26258d1b3ce9ee653 100644 (file)
@@ -10,14 +10,14 @@ leading '+' or '-' sign.  Positive integers shift the tracks later, while negati
 the tracks earlier.  If no sign is provided the integer is assumed to be nonnegative.
 Possible units are w for weeks, d for days, h for hours, m for minutes and s for seconds.
 </para>
-<example id="ex_track_move">
+<example xml:id="ex_track_move">
 <title>Time-shifting a track with the track filter</title>
 <para>
 The following command line will shift all tracks to be one hour later.
 </para>
 <para><userinput>gpsbabel -t -i gpx -f in.gpx -x track,move=+1h -o gpx -F out.gpx</userinput></para>
 </example>
-<example id="ex_track_move_wnro">
+<example xml:id="ex_track_move_wnro">
 <title>Time-shifting a track with the track filter to correct WNRO</title>
 <para>
 The following command line will shift all tracks to be 1024 weeks later.  Because the GPS Week Number
@@ -26,7 +26,7 @@ a multiple of 1024 weeks.
 </para>
 <para><userinput>gpsbabel -t -i gpx -f in.gpx -x track,move=+1024w -o gpx -F out.gpx</userinput></para>
 </example>
-<example id="ex_track_move_combo">
+<example xml:id="ex_track_move_combo">
 <title>Time-shifting a track with the track filter with combined units</title>
 <para>
 The following command lines will each shift all tracks to be 1 hour and 1 minute earlier, i.e. 61 minutes earlier.
@@ -34,4 +34,3 @@ The following command lines will each shift all tracks to be 1 hour and 1 minute
 <para><userinput>gpsbabel -t -i gpx -f in.gpx -x track,move=-1h-1m -o gpx -F out.gpx</userinput></para>
 <para><userinput>gpsbabel -t -i gpx -f in.gpx -x track,move=-61m -o gpx -F out.gpx</userinput></para>
 </example>
-
index 930b88bf7a012e4a62146102b6f846c3f1802501..0adde06999a61cc0d6e32e072d572c95c6a3bda8 100644 (file)
@@ -4,4 +4,3 @@ With the name option you can filter out a track by title.
 <para>
 The comparison is always non-case-sensitive. Wildcards are allowed.
 </para>
-
index 89060b6eaf93bdf6f0be4ceab90f41949e0440ed..0846b6b0161f360a6ddc0f24ec94b63f882e648e 100644 (file)
@@ -32,5 +32,3 @@ gpsbabel -t
      -x track,pack,sdistance=0.3k,split=5m
      -o gpx -F out.gpx
 </userinput></para>
-
-
index 0ead2bd56cfca40f1796319962beb8f97b6793ed..bb61ae63497977d67a69f1fffc479377556dbb4d 100644 (file)
@@ -14,7 +14,7 @@ not necessary to specify the smaller time units if they are not needed.
 That is, if you only care about points logged between 10 AM and 6 PM on a
 given date, you need not specify the minutes or seconds.
 </para>
-<example id="ex_track_startstop">
+<example xml:id="ex_track_startstop">
 <title>Extracting a period of time with the track filter</title>
 <para>
 To get only the parts of a track that were mapped on 20 July 2005
index 4ec4b09eba21adc992f12b795ef2cacbf486973f..5106461b48008e8f07233145d9c388da55e7f805 100644 (file)
@@ -12,4 +12,3 @@ The time for this option is expressed in UTC.
 See the <option>start</option> option for the format of this value and an
 example of usage.
 </para>
-
index aceaf77fa89ff634fd904a35bf22eef600ed7d41..ed3cb652cc45a85f907cbf5bd8eb4e03f4afd0db 100644 (file)
@@ -3,7 +3,7 @@ This option, when used in connection with the wpt, rte, or trk options, tells
 GPSBabel to delete the source data after conversion.  This is most useful if
 you are trying to avoid duplicated data in the output.
 </para>
-<example id="transform_del">
+<example xml:id="transform_del">
 <title>Convert a GPX track to GPX waypoints, tossing the original track</title>
 <para><userinput>gpsbabel -i gpx -f blah.gpx -x transform,wpt=trk,del -o gpx -F converted.gpx</userinput></para>
 </example>
index b6333fc46754be04271581298da56d19c1231c20..cb735678d17d43ec00d0f7a4850ee757821ff933 100644 (file)
@@ -7,7 +7,7 @@ When GPSBabel creates route points during the transformation process these point
 <para>
 Using this option GPSBabel can be configured to use less or more digits for the generated names. This option is best used in conjunction with the rptname option.
 </para>
-<example id="transform_rptdigits">
+<example xml:id="transform_rptdigits">
 <title>Convert a GPX track to a GPX route, deleting the original track, using 2 digits for the generated numbers.</title>
 <para><userinput>gpsbabel -i gpx -f track.gpx -x transform,wpt=trk,del,rptdigits=2 -o gpx -F route.gpx</userinput></para>
 </example>
index 4df5c925782cc4c424650025aa039a905eaadbb2..8d74bc38b9fc729fa403a8b3d514e7113b2bc222 100644 (file)
@@ -6,7 +6,7 @@ GPSBabel creates route points during the transformation process named "RPTnnn" w
 <para>
 Using this option GPSBabel can be configured to replace the "RPT" part of the generated names by the name of the source track during the transformation process. This is especially usefull if several differently named tracks are contained in the source file which should each be transformed into routes.
 </para>
-<example id="transform_rptname">
+<example xml:id="transform_rptname">
 <title>Convert a GPX track to a GPX route, deleting the original track, naming the generated points like the original track name.</title>
 <para><userinput>gpsbabel -i gpx -f track.gpx -x transform,wpt=trk,del,rptname=y -o gpx -F route.gpx</userinput></para>
 </example>
index 85986c2a9f30017b8aa43964a1adbe1a997e46c6..8b57c6ac6fe7798694caace64d2eb7e449346813 100644 (file)
@@ -1,7 +1,7 @@
 <para>
 This option selects the destination type of this filter to be routes.  Choose this when you want to convert tracks into waypoints routes.  A single route will be created in the sequence they appear in the input.
 </para>
-<example id="transform_to_rte">
+<example xml:id="transform_to_rte">
 <title>Converting a pile of waypoints to a GPX route</title>
 <para>
 Say you you have a data file that came from CSV file that you want to convert
index 3f547597790cc5efb3942047a7ff96a6585ade60..1b5af18fdd933d90fa024c2079ed41b2eef3ae8f 100644 (file)
@@ -3,7 +3,7 @@ This option selects the destination type of this filter to be tracks.
 Choose this when you want to create tracks from a list of waypoints or routes.
 A single track will be created in the sequence they appear in the input.
 </para>
-<example id="transform_to_trk">
+<example xml:id="transform_to_trk">
 <title>Converting a pile of waypoints to a GPX track</title>
 <para>
 Say you you have a data file that came from CSV file that you want to convert
index 45c9f0a88eae0e9e79436d65bffd578642c44dd4..6e530c5c3abf37621f6ad31ee410dccca7985297 100644 (file)
@@ -2,7 +2,7 @@
 This option selects the destination type of this filter to be waypoints.
 Choose this when you want to convert tracks or routes into waypoints.
 </para>
-<example id="transform_to_wpt">
+<example xml:id="transform_to_wpt">
 <title>Converting a track to a sequence of waypoints</title>
 <para>
 Say you you have a KML file that contains a track but you want to convert it to a CSV file that can contain only waypoints, perhaps to import into a spreadsheet.  Use the following command:
index d36012061854c13b719350cbca3b5135b6c909df..a06419b6eb2f7c18ecaa2457b975d22a52e3e922 100644 (file)
@@ -6,7 +6,7 @@ that the arc it describes must be a closed cycle.  That is,
 for a simple polygon, the first and last points must be the
 same.  Here's a square:
 </para>
-<screen format="linespecific">
+<screen>
 # A square (not really) polygon
 41.0000       -85.0000
 41.0000       -86.0000
@@ -18,7 +18,7 @@ same.  Here's a square:
 Polygons may include islands and holes.  To include an
 island or a hole, just append it to the main polygon.
 </para>
-<screen format="linespecific">
+<screen>
 # A square polygon with a triangular hole
 41.0000       -85.0000
 41.0000       -86.0000
@@ -41,7 +41,7 @@ Note that this filter currently will not work properly
 if your polygon contains one or both poles or if it spans the
 line of 180 degrees east or west longitude.
 </para>
-<example id="example_polygon_filter">
+<example xml:id="example_polygon_filter">
 <title>Using the polygon filter</title>
 <para>
 Suppose you have a polygon file that defines the border of your county,
@@ -50,7 +50,7 @@ in your county:
 </para>
 <para><userinput>gpsbabel -i geo -f 1.loc -x polygon,file=mycounty.txt -o mapsend -F 2.wpt</userinput></para>
 </example>
-<example id="example_in_or_close_to">
+<example xml:id="example_in_or_close_to">
 <title>Using the polygon and arc filters to find points in or nearly in a
 polygon</title>
 <para>
@@ -75,4 +75,3 @@ puts the two lists together, and then filters out any points that appear twice
 line will be kept by both the polygon and the arc filter.)
 </para>
 </example>
-
index e66450b704cb93a9f88bd0a15e06ce8c8f09a192..ef714aae5117bbe181f78b28ee973bfb0798fd23 100644 (file)
@@ -4,7 +4,7 @@ For waypoints a point is removed if it is within the specified distance of a pre
 For routes and tracks consecutive points are removed until the distance between the bracketing points is greater than the specified distance.
 </para>
 
-<example id="posn_to_suppress_close_points">
+<example xml:id="posn_to_suppress_close_points">
 <title>Using the position filter to suppress close points</title>
 <para>
 The following command removes multiple points that are within
@@ -12,4 +12,3 @@ one foot of each other, leaving just one.
 </para>
 <para><userinput>gpsbabel -i geo -f 1.loc -f 2.loc -x position,distance=1f -o mapsend -F 3.wpt</userinput></para>
 </example>
-
index c2fbda597112e8d342901d3c750a9d9fe85510b0..c241d26a14a59106d179f520ff0a573768eca573 100644 (file)
@@ -7,11 +7,10 @@ specified point will be removed from the dataset.
 By default, all remaining points are sorted so that points closer to the
 center appear earlier in the output file.
 </para>
-<example id="radius_to_find_points_close">
+<example xml:id="radius_to_find_points_close">
  <title>Using the radius filter to find points close to a given point</title>
  <para>This example command line would include only points within 1 1/2 miles
        of N30.000 W 90.000</para>
 
 <para><userinput>gpsbabel -i geo -f 1.loc -x radius,distance=1.5M,lat=30.0,lon=-90.0 -o mapsend -F 2.wpt</userinput></para>
 </example>
-
index b5869724d2757fcc0b7e0858aad5f6f0c060cc80..1d6e4d717bf14dce70a49b5263ba6dc5977c1ebb 100644 (file)
@@ -2,7 +2,7 @@
 The resampling filter can be used to change the sample rate of a track.  It is intended to be used with track points that have been sampled at a constant rate. It can be used to change the sample rate by a rational factor.  It can also be used to smooth a track with or without changing the sample rate.  The filter works across the antimeridian.
 </para>
 
-<example id="example_resample_filter_interpolate">
+<example xml:id="example_resample_filter_interpolate">
 <title>Interpolation with the resampling filter</title>
 <para>
 This examples doubles the sample rate.  The data is filtered after interpolation regardless of the order of the options.
@@ -10,7 +10,7 @@ This examples doubles the sample rate.  The data is filtered after interpolation
 <para><userinput>gpsbabel -t -i unicsv -f data.csv -x resample,interpolate=2,average=2 -o unicsv,utc=0 -F fast.csv</userinput></para>
 </example>
 
-<example id="example_resample_filter_decimate">
+<example xml:id="example_resample_filter_decimate">
 <title>Decimation with the resampling filter</title>
 <para>
 This examples reduces the sample rate by a factor of 4.  The data is filtered before decimation regardless of the order of the options.
@@ -18,11 +18,10 @@ This examples reduces the sample rate by a factor of 4.  The data is filtered be
 <para><userinput>gpsbabel -t -i unicsv -f data.csv -x resample,average=4,decimate=2 -o unicsv,utc=0 -F slow.csv</userinput></para>
 </example>
 
-<example id="example_resample_filter_average">
+<example xml:id="example_resample_filter_average">
 <title>Averaging with the resampling filter</title>
 <para>
 This examples averages the adjacent points.  A running average filter of length two samples is applied in the forward and reverse directions.
 </para>
 <para><userinput>gpsbabel -t -i unicsv -f data.csv -x resample,average=2 -o unicsv,utc=0 -F smooth.csv</userinput></para>
 </example>
-
index 7fb303868b8b12eb03b78f0cef56ae36fda4bf75..693664cc00f8c878dad489820344dac4b5bde7a4 100644 (file)
@@ -16,4 +16,3 @@
          will be in for unpleasant ride. application cares about
          timestamps
 </para>
-
index 7502254a277533b15d20a4b6739fa38d25be5188..613735db5a819877c8249c2f0de21ea0f7ddac10 100644 (file)
@@ -18,4 +18,3 @@ wish to use with a Magellan GPS receiver that only supports up to 50 points
 in a route:
 </para>
 <para><userinput>gpsbabel -r -i saroute -f RoadTrip.anr -x simplify,count=50 -o magellan  -F grocery.rte</userinput></para>
-
index 7541be0af2c7bb73d4cbb89dda64877e241368cd..70646ed71dd445681e77aba66b352f26c9ace0f4 100644 (file)
@@ -1,4 +1,3 @@
 <para>
 This filter sorts waypoints, routes and/or tracks by the selected field(s).
 </para>
-
index 8760429aafbfc6b360f724fb37e862c52c7d5ca1..dccbbac668b57e21931db6ce72a207c5a69f2844 100644 (file)
@@ -46,4 +46,3 @@ gpsbabel -i gpx -f indiana.gpx
          -x stack,pop,append
          -o magellan -F fwaind.wpt
 </userinput></para>
-
index e2177de7523a513c2b7dfe6dc4b3f00b1a3220c2..6080aa0ec5d52a15c72ba5b66d4f4cdc150eafa9 100644 (file)
@@ -4,5 +4,3 @@ WARNING: This filter always drops empty tracks.
 <para>
 This filter performs various operations on track data.
 </para>
-
-
index 46d7d42d0c8eca701ea75f2d4b510ba9b2819388..d1d827469cd15e9b6dde3e61691c265551d04c2c 100644 (file)
@@ -1,5 +1,4 @@
-<para>Serial download protocol for the <ulink url="http://www.brauniger.com">Brauniger</ulink> IQ series of
+<para>Serial download protocol for the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.brauniger.com">Brauniger</link> IQ series of
 barograph recording flight instruments.  This format creates a
 track of altitude vs time which can be merged with a GPS track
 of the same flight to create a three dimensional IGC file. </para>
-
index e1f20a899e7b8178be8215d5e541fb6e6c5c4437..8334f87f732b31d662a86b6a0d0f75342658a96f 100644 (file)
@@ -2,7 +2,6 @@
 
 
       <para>Support for
-<ulink url="http://www.cambridge-aero.com/products.htm">Cambridge</ulink>
-and <ulink url="http://www.winpilot.com"> Winpilot</ulink>
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.cambridge-aero.com/products.htm">Cambridge</link>
+and <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.winpilot.com"> Winpilot</link>
        flight analysis and planning software for glider pilots.  </para>
-
index 660b96e13f06f1120a92e069f619bceec977c66e..54cf148908c3aec8dd8c8478d7c1204771435874 100644 (file)
@@ -1,14 +1,14 @@
 
       <para> There are a billion variants of Comma Separated Value
-data.  This is the one specifically that makes <ulink url="http://www.delorme.com">DeLorme</ulink> <productname>S&amp;A Deluxe 9</productname> happy. It's
+data.  This is the one specifically that makes <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.delorme.com">DeLorme</link> <trademark>S&amp;A Deluxe 9</trademark> happy. It's
 also a very simple program and useful for many other programs like
 spreadsheets, but contains only a very minimal information. For general
 purpose use, you'll probably be more happy with our
 <link linkend="fmt_unicsv">universal csv (unicsv)</link> format.</para>
       <para> CSV is also the correct format for
-       <productname>Lowrance MapCreate</productname>,
+       <trademark>Lowrance MapCreate</trademark>,
 their commercial mapping program, or GDM6 (their free waypoint
-manager) for iFinder which is available at <ulink url="http://www.lowrance.com/Software/GDM6/Default.asp">lowrance.com</ulink>
+manager) for iFinder which is available at <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.lowrance.com/Software/GDM6/Default.asp">lowrance.com</link>
          </para>
     <para>
        On write, this format writes simple "latitude, longitude" pairs, but
@@ -18,7 +18,7 @@ on read it  will read anything supported by our <link linkend="style_def_lathuma
        For something-separated data that has headers identifying the various
        fields, see our <link linkend="fmt_unicsv">universal csv</link> format.
     </para>
-<example id="csv_example"><title>Example 'csv' file</title>
+<example xml:id="csv_example"><title>Example 'csv' file</title>
 <programlisting>
 35.97203, -87.13470, Mountain Bike Heaven by susy1313
 36.09068, -86.67955, The Troll by a182pilot &amp; Family
index 595333d8f82e759c918869a32160a30d5014b1b2..594376feddad589cf6265acccc83e4ed8f394aab 100644 (file)
@@ -5,5 +5,5 @@ for debugging purposes when developing a new format module for GPSBabel.
 <para>
 To understand the contents of this file, look at the
 <filename>style/custom.style</filename> file in the GPSBabel source
-distribution as well as <xref linkend="Styles" />.
+distribution as well as <xref linkend="Styles"/>.
 </para>
index d34baa6f6274faa76a8566ed4b4f6496a30d9457..a0fea9a00ff6d89005cef548b6bd2d2e6ad26ab3 100644 (file)
@@ -1,7 +1,7 @@
 <para>
-  Serial download protocol for the <productname>GlobalSat DG-100</productname>,
-  <productname> GlobalSat BT-335</productname>,
-  and <productname>GlboalSat BT-338X</productname>GPS data loggers.
+  Serial download protocol for the <trademark>GlobalSat DG-100</trademark>,
+  <trademark> GlobalSat BT-335</trademark>,
+  and <trademark>GlboalSat BT-338X</trademark>GPS data loggers.
 </para>
 <para>
   While the DG-100 has a button to record waypoints, they seem to be indistinguishable
@@ -9,13 +9,13 @@
   regardless of whether they were recorded automatically or manually.
 </para>
 <para>
-  <ulink url="http://www.globalsat.com.tw/eng/product_detail_00000090.htm">GlobalSat DG-100</ulink>
+  <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.globalsat.com.tw/eng/product_detail_00000090.htm">GlobalSat DG-100</link>
 </para>
-<example id="dg-100-on-linux">
+<example xml:id="dg-100-on-linux">
   <title>Command showing DG-100 download and erase on Linux</title>
   <para><userinput>gpsbabel -t -i dg-100,erase -o gpx /dev/ttyUSB0 outputfile.gpx</userinput></para>
 </example>
-<example id="dg-100-on-linux-erase_only">
+<example xml:id="dg-100-on-linux-erase_only">
   <title>Command showing DG-100 erase_only option on Linux</title>
   <para><userinput>gpsbabel -t -i dg-100,erase_only /dev/ttyUSB0</userinput></para>
 </example>
index bde00c63a9df7655865317b7d26bb28a6f586015..041520c2f722af82f5ec53d44d4d3783a5cdfc07 100644 (file)
@@ -1,12 +1,12 @@
-<para>Serial download protocol for the <productname>GlobalSat DG-200</productname>GPS data loggers.</para>
+<para>Serial download protocol for the <trademark>GlobalSat DG-200</trademark>GPS data loggers.</para>
 <para>
-<ulink url="http://www.usglobalsat.com/p-677-dg-200-gps-data-logger.aspx">GlobalSat DG-200</ulink>
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.usglobalsat.com/p-677-dg-200-gps-data-logger.aspx">GlobalSat DG-200</link>
 </para>
-<example id="dg-200-on-linux">
+<example xml:id="dg-200-on-linux">
   <title>Command showing DG-200 download and erase on Linux</title>
   <para><userinput>gpsbabel -t -i dg-200,erase -o gpx /dev/ttyUSB0 outputfile.gpx</userinput></para>
 </example>
-<example id="dg-200-on-linux-erase_only">
+<example xml:id="dg-200-on-linux-erase_only">
   <title>Command showing DG-200 erase_only option on Linux</title>
   <para><userinput>gpsbabel -t -i dg-200,erase_only /dev/ttyUSB0</userinput></para>
 </example>
@@ -20,4 +20,3 @@
   but unfortunately their driver has a defect which makes it unstable with
   GPSBabel.
 </para>
-
index b5381f8bd566a9683e892f0a75ad684fa213618f..81195317b98a6fa7634d26e9782b8a888adc39ea 100644 (file)
@@ -1,6 +1,6 @@
 <para>
   This format reads and writes GPS information embedded in
-   <ulink url="http://www.exif.org">EXIF</ulink>,
+   <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.exif.org">EXIF</link>,
    the Exchangeable Image Format, data.  EXIF is a standardized method
   of encoding data in pictures such as JPEG, TIFF, and WAV and is frequently
   used by mobile phones with cameras and cameras with built-in GPS.
@@ -9,4 +9,3 @@
   EXIF is frequently used for Geolocating photographs so their images can be
   correlated with time and location.
 </para>
-
index 9960c32d124c082bfa0b0e0ac79c5fd62ae34032..e27c6edc4569c69e4add2f904776c9372ed5d4f7 100644 (file)
@@ -11,7 +11,7 @@
 
 <para>
        Supported Garmin GPS receivers with USB include
-       <simplelist columns="4">
+       <simplelist columns="4" type="vert">
 <member>Astro</member>
 <member>Edge 205</member>
 <member>Edge 305</member>
@@ -33,7 +33,7 @@
 <member>Forerunner 305</member>
 <member>Foretrex 201</member>
 <member>Foretrex 301</member>
-<member>GPS 18<footnote id="posnonly"><para>This model does not support transfer of waypoints, tracks, or routes, but may be used with the <link linkend="tracking">realtime tracking</link> feature.</para></footnote></member>
+<member>GPS 18<footnote xml:id="posnonly"><para>This model does not support transfer of waypoints, tracks, or routes, but may be used with the <link linkend="tracking">realtime tracking</link> feature.</para></footnote></member>
 <member>GPSMAP 195</member>
 <member>GPSMAP 276C</member>
 <member>GPSMAP 295</member>
 </simplelist>
 </para>
 <para>the following Bluetooth Garmin products:
-<simplelist columns="4">
+<simplelist columns="4" type="vert">
 <member>GPS 10<footnoteref linkend="posnonly"/></member>
 </simplelist>
 </para>
 
 
 <para>and most serial Garmin GPS receivers including:
-<simplelist columns="4">
+<simplelist columns="4" type="vert">
 <member>eMap</member>
 <member>eTrex Camo</member>
 <member>eTrex Legend</member>
@@ -118,7 +118,7 @@ The following Garmin GPS receivers are supported, but they do not
 support Garmin communication protocol and don't work with the
 <option>garmin</option> option.  To use these receivers, read or write
 GPX files from the mass storage device as mounted on your computer.
-<simplelist columns="4">
+<simplelist columns="4" type="vert">
 <member>eTrex 10<footnoteref linkend="gpx"/></member>
 <member>eTrex 20<footnoteref linkend="gpx"/></member>
 <member>eTrex 30<footnoteref linkend="gpx"/></member>
@@ -154,7 +154,7 @@ GPX files from the mass storage device as mounted on your computer.
 <member>Nuvi 260W<footnoteref linkend="gpx"/></member>
 <member>Nuvi 270<footnoteref linkend="gpx"/></member>
 <member>Nuvi 275T<footnoteref linkend="gpx"/></member>
-<member>Nuvi 300<footnote id="gpx"><para>This unit uses GPX format, not Garmin protocol.  Therefore one should communicate with it by reading and writing GPX files instead of using this format.  Members of this class of products do not support realtime positioning protocol.</para></footnote></member>
+<member>Nuvi 300<footnote xml:id="gpx"><para>This unit uses GPX format, not Garmin protocol.  Therefore one should communicate with it by reading and writing GPX files instead of using this format.  Members of this class of products do not support realtime positioning protocol.</para></footnote></member>
 <member>Nuvi 310<footnoteref linkend="gpx"/></member>
 <member>Nuvi 350<footnoteref linkend="gpx"/></member>
 <member>Nuvi 370<footnoteref linkend="gpx"/></member>
@@ -297,7 +297,7 @@ so they are named 'Custom 0' through 'Custom 511'.
        filename.   For this to work on Windows, you must install
        the Garmin driver.  For Linux, this will fail if you have the garmin_gps
        kernel module loaded.
-       See the <ulink url="/osnotes.html">Operating System Notes</ulink> for details.
+       See the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/osnotes.html">Operating System Notes</link> for details.
 </para>
 
 <para>
@@ -312,7 +312,7 @@ communications protocol and are <emphasis>not supported</emphasis>
 by GPSBabel.</para>
 <para>
 Marine plotters:
-<simplelist columns="4">
+<simplelist columns="4" type="vert">
 <member>GPSMap 420</member>
 <member>GPSMap 430</member>
 <member>GPSMap 440</member>
@@ -329,7 +329,7 @@ Marine plotters:
 </para>
 
 <para>The PDA products
-<simplelist>
+<simplelist type="vert">
 <member>iQue 3000</member>
 <member>iQue 3200</member>
 <member>iQue 3600</member>
index 9c64d506731f6bfdbf3c2be71a8e3a9d50d8b5ef..72053e4d5612aa423d484fe115b2fdab396803cc 100644 (file)
@@ -3,11 +3,11 @@
 is most useful for exporting data from units that support heart rate
 data such as
 
-  <productname>Garmin Forerunner 301</productname>,
-  <productname>Garmin Forerunner 305</productname>, and
-  <productname>Garmin Edge 305</productname>, and
+  <trademark>Garmin Forerunner 301</trademark>,
+  <trademark>Garmin Forerunner 305</trademark>, and
+  <trademark>Garmin Edge 305</trademark>, and
 to other programs
 for analysis.   It's a simple comma delimited format that includes the
 timestamp, 3D position information and heart rate so you can pull it
 into a spreadsheet or graphing program.
-</para>
\ No newline at end of file
+</para>
index 1f7d8c50fcd3c3f61cdd575ad77688644ee1a37f..8dd9b0e580b569fc40dd6170351578f5ed489ef2 100644 (file)
@@ -1,10 +1,10 @@
 <para>
 GPSBabel supports reading and writing of tracks in the .fit
 format used by products based on the Garmin
-<ulink url="https://www.thisisant.com/">ANT+ protocol</ulink>.
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.thisisant.com/">ANT+ protocol</link>.
 </para>
 <para>
-As in case of <link  linkend="fmt_gtrnctr">Garmin Training Center</link>,
+As in case of <link linkend="fmt_gtrnctr">Garmin Training Center</link>,
 FIT files contain courses with laps etc. which don't exactly match
 GPSBabel's waypoints, tracks, and routes. An attempt is made to extract and
 transform data than can be handled by GPSBabel like heart rate etc. and
@@ -20,7 +20,7 @@ inserting them at the nearest location in the track/course. By default,
 generic course points are written unless the waypoint name contains one of
 the following words in which case course points of type left/right are
 emitted:
-<simplelist>
+<simplelist type="vert">
 <member>left, links, gauche, izquierda, sinistra</member>
 <member>right, rechts, droit, derecha, destro</member>
 </simplelist>
index d46b8494e1df4f2f5e095f0040e51d1c7efe877c..1ae4750988911385155c47ce018727d7b1190a7e 100644 (file)
@@ -1,7 +1,7 @@
 <para>
    The format garmin_gpi supports the binary POI (.gpi) files that are usable
    on newer Garmin GPS receivers.  See <link linkend="fmt_garmin_poi">garmin_poi</link> for additional information about Garmin's own Poiloader program.
-   <ulink url="http://www.garmin.com/support/agree.jsp?id=927">Garmin POI-Loader</ulink> is the standard application that creates GPI files
+   <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.garmin.com/support/agree.jsp?id=927">Garmin POI-Loader</link> is the standard application that creates GPI files
    with all possible features.
 </para>
 <para>
@@ -44,7 +44,7 @@
        directly.
 </para>
 </important>
-<example id="all_garmin_gpi_options">
+<example xml:id="all_garmin_gpi_options">
   <title>Command showing garmin_gpi output example</title>
   <para>
     <userinput>
index 7e0471a4d160ede14d181109e0c23c7ccef095cb..f8e6d5b5073e68bcc090c1812fc0e085757c47e9 100644 (file)
@@ -1,5 +1,5 @@
 <para>
-  The <ulink url="http://www.garmin.com/support/agree.jsp?id=927">Garmin POI loader</ulink>
+  The <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.garmin.com/support/agree.jsp?id=927">Garmin POI loader</link>
   loads custom points of interest into certain models of
   Garmin GPS receivers.  (As of this writing, only the models introduced
   in 2005 and later are supported.  See Garmin's site for more info.)
index 62111d44d537753ed1b2494fd007a235be358270..42d30a97ca5e699d2d4a91e22cdbf761a1d61053 100644 (file)
@@ -1,23 +1,22 @@
 <para>
 This is a textual format that contains nearly all of the information
-contained in the <productname>MapSource</productname> main format, <link linkend="fmt_gdb">GDB</link>.
+contained in the <trademark>MapSource</trademark> main format, <link linkend="fmt_gdb">GDB</link>.
 This format also contains some computed values such as distances between
 routepoints and trackpoints, speed, and course (heading).
 </para>
 <para>
 The main goal of garmin_txt is to make aviation data more available. Because
-<productname>MapSource</productname> supports only the export, GPSBabel gives you the possibility to
-bring aviation data into <productname>MapSource</productname>.
+<trademark>MapSource</trademark> supports only the export, GPSBabel gives you the possibility to
+bring aviation data into <trademark>MapSource</trademark>.
 </para>
 <para>
-During the export with <productname>MapSource</productname>, some fields are written using local settings
-of <productname>MapSource</productname> and Windows. These include grid format, gps datum, distance and
+During the export with <trademark>MapSource</trademark>, some fields are written using local settings
+of <trademark>MapSource</trademark> and Windows. These include grid format, gps datum, distance and
 temperature units, and the representation of date and time fields. GPSBabel
 tries to read all items automatically. Problems with date and time format can
 be solved with the 'date' and 'time' options.
 </para>
-<example id="all_garmin_txt_options">
+<example xml:id="all_garmin_txt_options">
   <title>Command showing garmin_txt output with all options</title>
   <para><userinput>gpsbabel -i garmin_txt,date="MM/DD/YYYY",time="hh:mm:ss xx" -f in.txt -o garmin_txt,date="DD.MM.YYYY",datum="WGS 72",dist=m,prec=6,temp=c,time="HH:mm:ss",utc=+2 -F out.txt</userinput></para>
 </example>
-
index a2611365316eb6eef298b891e9fb9411fdbfa720..ed98f5d9195d8d7761de570c8c554d118d7484e1 100644 (file)
@@ -1,13 +1,12 @@
 <para>
   Support for the "Garmin GPS Database" format used by
-  default in <productname>MapSource</productname> versions since release 6.0 of
+  default in <trademark>MapSource</trademark> versions since release 6.0 of
   that product. By default GPSBabel creates
   gdb files of version 2.  Version 2 is used in Mapsource 6.3 and 6.5.   This format
-  is also used by <productname>Garmin BaseCamp</productname> for Mac and Windows.
+  is also used by <trademark>Garmin BaseCamp</trademark> for Mac and Windows.
 </para>
 <para>
   Garmin GPS database is an undocumented file format. The
   basic info for this module came from the existing MapSource
   conversion code.
 </para>
-
index 1f7d238d8a81e87611f4e52aa5eccce930efb649..8b38917465785dec73a241fba805132616536724 100644 (file)
@@ -1,5 +1,5 @@
 <para>
-This module supports a subset of the <ulink url="http://geojson.org/">GeoJSON</ulink> format.
+This module supports a subset of the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://geojson.org/">GeoJSON</link> format.
 </para>
 <para>
 GeoJSON is a poor fit for GPSBabel's internal data structures as GPSBabel
@@ -22,9 +22,9 @@ The potentially nested/recursive nature of GeoJSON in general would be
 an awkward implementation.
 </para>
 <para>
-Initial development was free-handed by looking at the <ulink url="https://tools.ietf.org/html/rfc7946 ">GeoJSON RFC</ulink>. Corner cases were handled by
-using <ulink url="http://www.gdal.org/ogr2ogr.html">GDAL's ogr2ogr</ulink>
+Initial development was free-handed by looking at the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.ietf.org/html/rfc7946 ">GeoJSON RFC</link>. Corner cases were handled by
+using <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.gdal.org/ogr2ogr.html">GDAL's ogr2ogr</link>
 to convert GPX to JSON and compare the output. The results were then
- <ulink url="http://geojsonlint.com/">JSON validated</ulink> and viewed on
- <ulink url="http://geojson.io/">JSON web viewer</ulink>.
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://geojsonlint.com/">JSON validated</link> and viewed on
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://geojson.io/">JSON web viewer</link>.
 </para>
index d4cf0e7c8c9d91bb86f41a128daecc82517fcc9f..b25fb655a459130b27ebda01839c66be35dea6a2 100644 (file)
@@ -1,5 +1,5 @@
 <para>
-  Serial download protocol for the <productname>GlobalSat Sport gh625XT</productname> training watch.
+  Serial download protocol for the <trademark>GlobalSat Sport gh625XT</trademark> training watch.
 </para>
 <para>
 The GlobalSat Sport GPS training device present themselves as USBserial devices.
@@ -10,11 +10,11 @@ USB cable to your computer and the device will show up as a serial device.
   <ulink url="http://www.globalsat.com.tw/products-page_new.php?menu=2\&gs_en_product_id=5\&gs_en_product_cnt_id=32">GlobalSat sport gh625XT</ulink>
 </para -->
 <para><userinput>gpsbabel -i globalsat -f /dev/ttyUSB0 -o gpx,garminextensions -F outfile.gpx</userinput></para>
-<example id="globalsat-showlist">
+<example xml:id="globalsat-showlist">
   <title>Command showing list of tracks on device</title>
   <para><userinput>gpsbabel -i globalsat,showlist=1 -f /dev/ttyUSB0</userinput></para>
 </example>
-<example id="globalsat-track">
+<example xml:id="globalsat-track">
   <title>Command track can be used to fetch a single track, default is all tracks</title>
   <para><userinput>gpsbabel -i globalsat,track=number -f /dev/ttyUSB0 -o gpx,garminextensions -F outfile.gpx</userinput></para>
 </example>
@@ -26,6 +26,3 @@ USB cable to your computer and the device will show up as a serial device.
   that data as a serial port to software like GPSBabel. Such software
   comes with the unit for Windows or can be downloaded.
 </para>
-
-
-
index 2f6c7a80600230f41afcfe92686605e7dcf50a6f..13b8afde56aa8b8623a52626f724a6e27a7a4b2b 100644 (file)
@@ -2,6 +2,5 @@
 
 
       <para>GpsDrive way.txt file format. A space separated format
-file. Tested against GpsDrive v 1.30 found at <ulink url="http://www.gpsdrive.de">gpsdrive.de</ulink>.
+file. Tested against GpsDrive v 1.30 found at <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.gpsdrive.de">gpsdrive.de</link>.
 Contributed by Alan Curry.</para>
-
index 9e26a08bfaceb238929a8e789bb653516a937d1e..cdc4fba7704caa6b5be90ab35ff53a7f89e9914f 100644 (file)
@@ -4,4 +4,3 @@
       <para>Format used by GpsDrive to save tracks. Like GPSDRIVE a
 space separated format file. See above for a link to GpsDrive.
 Contributed by Tobias Minich.</para>
-
index c318310ff09a443552a7c8fe88c91cfffd017da3..320c51d1aefb49183ff515dfe1d11753a24f29c0 100644 (file)
@@ -1,9 +1,9 @@
   <para>
         This is a write-only format used to feed waypoints, tracks, and routes
-        into <ulink url="http://franson.com/">Franson Technolgies'</ulink>
-        <ulink url="http://franson.com/gpsgate/">GpsGate simulator</ulink>.
+        into <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://franson.com/">Franson Technolgies'</link>
+        <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://franson.com/gpsgate/">GpsGate simulator</link>.
   </para>
   <para>
         To use these files in GpsGate, select 'Simulator' and then
-        "File->Open".
+        "File-&gt;Open".
   </para>
index e1fba6f6eb272d0efd7a573456a182ddd5b4ada0..e4a37d3a630d256a9639e4bc55653f1d83cc7d1e 100644 (file)
@@ -1,15 +1,14 @@
 <para>This is one of the most capable and expressive formats of all the file
-formats supported by GPSBabel.  It is described at <ulink url="http://www.topografix.com/gpx.asp">topografix.com</ulink> and is
+formats supported by GPSBabel.  It is described at <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.topografix.com/gpx.asp">topografix.com</link> and is
 supported by EasyGPS, ExpertGPS, and many other programs described at
-<ulink url="http://www.topografix.com/gpx_resources.asp">topografix.com</ulink>
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.topografix.com/gpx_resources.asp">topografix.com</link>
 </para>
 <para>
 GPSBabel's reader of this module attempts to preserve tags it doesn't
 really understand.   It also tries to glean interesting data from:
 <itemizedlist>
-  <listitem><para><ulink url="http://www.geocaching.com">pocket queries from Geocaching.com,</ulink></para></listitem>
+  <listitem><para><link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.geocaching.com">pocket queries from Geocaching.com,</link></para></listitem>
   <listitem><para>Garmin's "gpxx" GPX extensions,</para></listitem>
   <listitem><para>Humminbird's "h" GPX extensions.</para></listitem>
 </itemizedlist>
 </para>
-
index 8b28f36e439ee87e59f8b946d54da09a7449cc1c..097e1733e4e897900cb140e0247d333460437997 100644 (file)
@@ -1,5 +1,4 @@
       <para>Input and output support for waypoints, tracks and routes in
-             the <ulink url="http://www.gpstm.com">GPS TrackMaker </ulink>
+             the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.gpstm.com">GPS TrackMaker </link>
               binary format.</para>
       <para>Code implemented by Gustavo Niemeyer.</para>
-
index 82e0e34b6f566f3a22eb1267e17153f4d7b42ce4..8afdcf10d73f1b6e4e398a4f6f75ce59cf6614ee 100644 (file)
@@ -1,7 +1,7 @@
 <para>
 GPSBabel supports reading and writing of tracks in the .tcx
-format used by <productname>Garmin Training Center</productname> (GTC). GTC is the successor
-to Garmin's <productname>Logbook</productname> program for their workout units.  It is a
+format used by <trademark>Garmin Training Center</trademark> (GTC). GTC is the successor
+to Garmin's <trademark>Logbook</trademark> program for their workout units.  It is a
 free upgrade.
 </para>
 <para>
index 144712199582f8b00a714a5de7908c339b428d45..1af3b32649706ecf551098edaf4f9f8cf1f89752 100644 (file)
@@ -3,14 +3,14 @@
 
       <para> The Holux gm-100 (e-fox) gps receiver uses standard
 compact flash cards.  File formats were provided by Holux-Taiwan
-<ulink url="http://www.holux.com.tw">holux.com</ulink> to the author.
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.holux.com.tw">holux.com</link> to the author.
 The code was tested against version 2.27E1; other versions and
 receivers may work but have not been explicitly tested.  Anyone with
 information on other Holux receivers is encouraged to contact
 jochen@bauerbahn.net.
 </para>
       <para> When copying the .wpo file to a flash card, the file must
-be named <filename moreinfo="none">tempwprt.wpo</filename> as the
+be named <filename>tempwprt.wpo</filename> as the
 receiver will ignore all other files.
 </para>
       <para> Comparing the waypoints of a .wpo files against other
@@ -25,4 +25,3 @@ version 1.14.  This program is free of charge from the Holux web site.
 </para>
       <para> This format was contributed by Jochen Becker.
 </para>
-
index c99e025eceb99a6ecb51b567f22960d3dc39cf67..606d018cbe005bee41aaadf7f2afb25bded90c34 100644 (file)
@@ -18,4 +18,3 @@
 <para>
   <userinput>gpsbabel -i gpx -f 12345.gpx -o html,stylesheet=green.css,encrypt -F 12345.html</userinput>
 </para>
-
index 2a8b86d5aff4487a1470953bd8d28ac18c2d5985..30544f9ac973b309e5791735d12fff816a698377 100644 (file)
@@ -1,11 +1,11 @@
 <para>
   This format supports:
-  <simplelist>
-    <member><ulink url="http://www.humminbird.com">Humminbird</ulink>
+  <simplelist type="vert">
+    <member><link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.humminbird.com">Humminbird</link>
        waypoints and routes (<filename>.hwr</filename> files)</member>
-    <member><ulink url="http://www.humminbird.com">Humminbird</ulink>
+    <member><link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.humminbird.com">Humminbird</link>
        tracks (<filename>.ht</filename> files)</member>
-    <member><ulink url="http://www.humminbird.com">Humminbird</ulink>
+    <member><link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.humminbird.com">Humminbird</link>
        <filename>.dat</filename> files. (These accompany the
        <filename>.png</filename> files you get when you take snapshots.
        There are also <filename>.dat</filename> files generated when making
@@ -34,18 +34,17 @@ together with their images.
 </para>
 <para>
   Supported models:
-  <simplelist>
+  <simplelist type="vert">
     <member>797c2i SI</member>
   </simplelist>
  (They should all work, but this is the only one tested so far.)
  </para>
 <para>
   Known limits:
-  <simplelist>
+  <simplelist type="vert">
     <member>max 12 characters for waypoint names.</member>
     <member>max 20 characters for route and track names.</member>
     <member>max 50 points per route. Use <link linkend="filter_simplify">simplify</link> filter (count=50 or less) if you have routes with more points!</member>
     <member>max 21835 points per track.</member>
   </simplelist>
 </para>
-
index c528b9f1eec77844d80062341c694ef3a937a06b..4161eecaa4b0da6a75a2bfd5a208eff46d140f80 100644 (file)
@@ -1,5 +1,5 @@
 <para>
-  This is the format used by the software that comes with the <ulink url="http://www.semsons.com/i747bldalogp.html">Transystem i-Blue747 GPS</ulink>.
+  This is the format used by the software that comes with the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.semsons.com/i747bldalogp.html">Transystem i-Blue747 GPS</link>.
 </para>
 
 <para>
index bc3e5f34e4ce405a3bbddad515d8610b20417c11..a28e36c0ba2826fb6e7b2c7c3f7b391af5fb4483 100644 (file)
@@ -1,83 +1,83 @@
 <para>
   This is the format used by the software that comes with the
-   <ulink url="http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=81290">
+   <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=81290">
      Transystem i-Blue757 Pro GPS
-   </ulink>.
+   </link>.
    It is very similar to the <link linkend="fmt_iblue747">iBlue747</link>
    format, apart from the date format being reversed.
 </para>
 
 <para>
   The csv log file can be extracted from the GPS receiver using
-  the BT747 software available from <ulink url="http://www.bt747.org"></ulink>
+  the BT747 software available from <uri xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.bt747.org">http://www.bt747.org</uri>
 </para>
 
 <para>
 Field definitions:
 </para>
 
-<section id="ib_index"> <title>INDEX</title> <para>
+<section xml:id="ib_index"> <title>INDEX</title> <para>
 A sequential integer which corresponds for each logged point in the file.
 </para><para>example 3308
 </para></section>
 
-<section id="ib_rcr"><title>RCR</title><para>
+<section xml:id="ib_rcr"><title>RCR</title><para>
 ?
 </para><para>example 1: T
 </para><para>example 2: TD
 </para></section>
 
-<section id="ib_title"><title>DATE</title><para>
+<section xml:id="ib_title"><title>DATE</title><para>
 Date that the point was recorded, in the format YYYY/MM/DD
 </para><para>example: 2011/05/14
 </para></section>
 
-<section id="ib_time"><title>TIME</title><para>
+<section xml:id="ib_time"><title>TIME</title><para>
 Time that the point was recorded, 24-hr format H:MM:SS. Unsure how fractions of a second are handled.
 </para><para>example: 4:15:11
 </para></section>
 
-<section id="ib_valid"><title>VALID</title><para>
+<section xml:id="ib_valid"><title>VALID</title><para>
 ?
 </para><para>example 1: DGPS
 </para><para>example 2: SPS
 </para></section>
 
-<section id="ib_lat"><title>LATITUDE</title><para>
+<section xml:id="ib_lat"><title>LATITUDE</title><para>
 Degrees above the equator (use negative for south of the equator)
 </para><para>example: -33.803645
 </para></section>
 
-<section id="ib_hemi"><title>N/S</title><para>
+<section xml:id="ib_hemi"><title>N/S</title><para>
 North (N)or South (S) of the equator
 </para><para>example: S
 </para></section>
 
-<section id="ib_lon"><title>LONGITUDE</title><para>
+<section xml:id="ib_lon"><title>LONGITUDE</title><para>
 Degrees east of the Prime Meridian (use negative for east of the Prime Meridian/Greenwich)
 </para><para>example: 150.880499
 </para></section>
 
-<section id="ib_ewhemi"><title>E/W</title><para>
+<section xml:id="ib_ewhemi"><title>E/W</title><para>
 East (E) or West (W) of Greenwich
 </para><para>example: E
 </para></section>
-<section id="ib_height"><title>HEIGHT</title><para>
+<section xml:id="ib_height"><title>HEIGHT</title><para>
 Height above sea level in meters
 </para><para>example: 99.859 m
 </para></section>
 
-<section id="ib_speed"><title>SPEED</title><para>
+<section xml:id="ib_speed"><title>SPEED</title><para>
 Speed in km/h
 </para><para>example: 0.302 km/h
 </para></section>
 
-<section id="ib_dist"><title>DISTANCE</title><para>
+<section xml:id="ib_dist"><title>DISTANCE</title><para>
 Distance covered since last point in meters
 </para><para>example: 0.30 m
 </para></section>
 
-<section id="ib_example"><title>Example File</title>
+<section xml:id="ib_example"><title>Example File</title>
 <para>
 Example 3.X. Example 'iBlue 757' file
 <literallayout>
index 3e6445c5f956f315d3a01335f20bae75c61c5e50..1dfdd070d10b828bdaf03e26c59511875e0d22a6 100644 (file)
@@ -5,17 +5,17 @@ and from tracks representing recorded flights, and routes representing
 task declarations in other formats.
 </para>
 
-<section id="fmt_igc_notes">
+<section xml:id="fmt_igc_notes">
 <title>IGC Data Format Notes</title>
 <para>
 Refer to Appendix 1 of
-<ulink url="http://www.fai.org:81/gliding/gnss/tech_spec_gnss.asp">http://www.fai.org:81/gliding/gnss/tech_spec_gnss.asp</ulink>
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.fai.org:81/gliding/gnss/tech_spec_gnss.asp">http://www.fai.org:81/gliding/gnss/tech_spec_gnss.asp</link>
 for the specification of the IGC data format.
 </para>
 <para>
 A sample list of software applications that use data in IGC format can be
 found at
-<ulink url="http://www.fai.org:81/gliding/gnss/gnss_analysis_software.pdf">http://www.fai.org:81/gliding/gnss/gnss_analysis_software.pdf</ulink>
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.fai.org:81/gliding/gnss/gnss_analysis_software.pdf">http://www.fai.org:81/gliding/gnss/gnss_analysis_software.pdf</link>
 </para>
 <para>
 GPSBabel can be used to translate data in IGC format to and from various other
@@ -29,7 +29,7 @@ Tracks in other formats are used to represent IGC recorded flights.
 </para>
 </section>
 
-<section id="fmt_igc_convto">
+<section xml:id="fmt_igc_convto">
 <title>Converting to IGC format</title>
 <para>
 IGC files generated by GPSBabel will NOT pass security validation tests since
@@ -81,7 +81,7 @@ same file and can be used to fully populate an IGC file:
 <para><userinput>gpsbabel -i gpx -f myall.gpx -o igc -F myflight.igc</userinput></para>
 </section>
 
-<section id="fmt_igc_convfrom">
+<section xml:id="fmt_igc_convfrom">
 <title>Converting from IGC format</title>
 <para>
 Data in an IGC file can be converted into other formats.  For example to
@@ -104,7 +104,7 @@ tracks.  The latitude, longitude and timestamps in the tracks will be identical.
 </para>
 </section>
 
-<section id="fmt_igc_merge">
+<section xml:id="fmt_igc_merge">
 <title>Merging into IGC format</title>
 <para>
 A route stored in another format can be merged with an existing IGC file that
@@ -131,4 +131,3 @@ or:
 (Documentation contributed by Chris Jones, Aug 2004)
 </para>
 </section>
-
index 585e1f4ba2fe15915b9e0232252b5cc380e33dfc..a824d815cd6527ace1f928513127bc9cdecb0f5e 100644 (file)
@@ -1,6 +1,6 @@
 <para>
 KML, the Keyhole Markup Language format, was used by Keyhole and is used by
-<ulink url="http://earth.google.com">Google Earth</ulink>.
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://earth.google.com">Google Earth</link>.
 </para>
 <para>There are concepts in KML that GPSBabel can't support very well on
 read because they don't map well into other programs.  For example, KML has
@@ -29,5 +29,5 @@ In general, GPSBabel's KML writer is relatively strong.  GPSBabel handles simple
   you can widen the time slider to show the range of data of interest.
 </para>
 <para>
-  See <ulink url="http://earth.google.com/userguide/v4/ug_gps.html#timeline">Google Earth's documentation on timelines</ulink> for more info.
+  See <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://earth.google.com/userguide/v4/ug_gps.html#timeline">Google Earth's documentation on timelines</link> for more info.
 </para>
index 1a59b2a645b6d02ffc136dc5a280a1101c7a25b5..6bd499e570ffdb6d3831356ed88984eb17ab61f0 100644 (file)
@@ -1,17 +1,17 @@
 <para>
-Many <ulink url="http://www.lowrance.com">Lowrance</ulink> systems have the ability
+Many <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.lowrance.com">Lowrance</link> systems have the ability
 to output their data to an external storage device.
 Early models (such as iFinder Hunt) supported an MMC card.
 Newer models (HDS, Hook, Hook2, etc) support either an SD card or a microSD card.
 When exported the data is saved to the card as a
 file.  Some models have the ability to export data in GPX format but the
-format native to <ulink url="http://www.lowrance.com">Lowrance</ulink> units is called USR.
+format native to <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.lowrance.com">Lowrance</link> units is called USR.
 Typically the file created by the export operation will have a ".usr" suffix if is a
 native format or a ".gpx" suffix if is is a GPX format file.
 </para>
 
 <para>
-<ulink url="http://www.lowrance.com">Lowrance</ulink> units currently use five different versions of USR files.
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.lowrance.com">Lowrance</link> units currently use five different versions of USR files.
 These different USR versions store the four internal elements (waypoints, routes, trails, and event marker icons)
 using different formats.  Some units do not support all four elements (typically event marker icons are not supported).
 Some USR formats also have multiple element versions (i.e. USR version 4 has two different formats for storing
@@ -22,7 +22,7 @@ five USR formats or even the GPX format.
 
 <para>
 The following provides a high-level description of the multiple USR formats that are supported by the Lowrance product set
-(this is based on information contained in the <ulink url="ftp://software.lowrance.com/Documents/Hook2-Series_OM_EN_988-11760-001_w.pdf">2018 Lowrance Hook2 Series Operator Manual</ulink>) and other sources.
+(this is based on information contained in the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="ftp://software.lowrance.com/Documents/Hook2-Series_OM_EN_988-11760-001_w.pdf">2018 Lowrance Hook2 Series Operator Manual</link>) and other sources.
 </para>
 <para>
           <emphasis>User Data File version 2 </emphasis>-
@@ -83,7 +83,7 @@ The following tables detail the content format of USR data files.</para>
   <listitem><para><link linkend="usr4_trail">Lowrance USR 4, 5 and 6 Trail Object Format</link></para></listitem>
 </itemizedlist>
 
-<table id="usr_format">
+<table xml:id="usr_format">
   <title>Lowrance USR Data File Contents</title>
   <tgroup cols="8">
     <colspec colname="u2" align="center" colwidth="22pt"/>
@@ -91,15 +91,15 @@ The following tables detail the content format of USR data files.</para>
     <colspec colname="u4" align="center" colwidth="22pt"/>
     <colspec colname="u5" align="center" colwidth="22pt"/>
     <colspec colname="u6" align="center" colwidth="22pt"/>
-    <colspec colname="f" colwidth="*" />
-    <colspec colname="s" align="center"  colwidth="34pt"/>
+    <colspec colname="f" colwidth="*"/>
+    <colspec colname="s" align="center" colwidth="34pt"/>
     <colspec colname="d" colwidth="2.5*"/>
     <thead>
       <row>
         <entry namest="u2" nameend="u6" align="center">Present In</entry>
-        <entry></entry>
-        <entry></entry>
-        <entry></entry>
+        <entry/>
+        <entry/>
+        <entry/>
       </row>
       <row>
         <entry>USR 2</entry>
@@ -263,7 +263,7 @@ The following tables detail the content format of USR data files.</para>
   </tgroup>
 </table>
 
-<table id="usr_waypoint">
+<table xml:id="usr_waypoint">
   <title>Lowrance USR 2 and 3 Waypoint Object Format</title>
   <tgroup cols="8">
     <colspec colname="u2" align="center" colwidth="22pt"/>
@@ -271,15 +271,15 @@ The following tables detail the content format of USR data files.</para>
     <colspec colname="u4" align="center" colwidth="22pt"/>
     <colspec colname="u5" align="center" colwidth="22pt"/>
     <colspec colname="u6" align="center" colwidth="22pt"/>
-    <colspec colname="f" colwidth="*" />
-    <colspec colname="s" align="center"  colwidth="34pt"/>
+    <colspec colname="f" colwidth="*"/>
+    <colspec colname="s" align="center" colwidth="34pt"/>
     <colspec colname="d" colwidth="2*"/>
     <thead>
       <row>
         <entry namest="u2" nameend="u6" align="center">Present In</entry>
-        <entry></entry>
-        <entry></entry>
-        <entry></entry>
+        <entry/>
+        <entry/>
+        <entry/>
       </row>
       <row>
         <entry>USR 2</entry>
@@ -375,7 +375,7 @@ The following tables detail the content format of USR data files.</para>
   </tgroup>
 </table>
 
-<table id="usr4_waypoint">
+<table xml:id="usr4_waypoint">
   <title>Lowrance USR 4, 5 and 6 Waypoint Object Format</title>
   <tgroup cols="8">
     <colspec colname="u2" align="center" colwidth="22pt"/>
@@ -383,15 +383,15 @@ The following tables detail the content format of USR data files.</para>
     <colspec colname="u4" align="center" colwidth="22pt"/>
     <colspec colname="u5" align="center" colwidth="22pt"/>
     <colspec colname="u6" align="center" colwidth="22pt"/>
-    <colspec colname="f" colwidth="*" />
-    <colspec colname="s" align="center"  colwidth="34pt"/>
+    <colspec colname="f" colwidth="*"/>
+    <colspec colname="s" align="center" colwidth="34pt"/>
     <colspec colname="d" colwidth="2*"/>
     <thead>
       <row>
         <entry namest="u2" nameend="u6" align="center">Present In</entry>
-        <entry></entry>
-        <entry></entry>
-        <entry></entry>
+        <entry/>
+        <entry/>
+        <entry/>
       </row>
       <row>
         <entry>USR 2</entry>
@@ -535,7 +535,7 @@ The following tables detail the content format of USR data files.</para>
   </tgroup>
 </table>
 
-<table id="usr_route">
+<table xml:id="usr_route">
   <title>Lowrance USR 2 and 3 Route Object Format</title>
   <tgroup cols="8">
     <colspec colname="u2" align="center" colwidth="22pt"/>
@@ -543,15 +543,15 @@ The following tables detail the content format of USR data files.</para>
     <colspec colname="u4" align="center" colwidth="22pt"/>
     <colspec colname="u5" align="center" colwidth="22pt"/>
     <colspec colname="u6" align="center" colwidth="22pt"/>
-    <colspec colname="f" colwidth="*" />
-    <colspec colname="s" align="center"  colwidth="34pt"/>
+    <colspec colname="f" colwidth="*"/>
+    <colspec colname="s" align="center" colwidth="34pt"/>
     <colspec colname="d" colwidth="2*"/>
     <thead>
       <row>
         <entry namest="u2" nameend="u6" align="center">Present In</entry>
-        <entry></entry>
-        <entry></entry>
-        <entry></entry>
+        <entry/>
+        <entry/>
+        <entry/>
       </row>
       <row>
         <entry>USR 2</entry>
@@ -647,7 +647,7 @@ The following tables detail the content format of USR data files.</para>
   </tgroup>
 </table>
 
-<table id="usr4_route">
+<table xml:id="usr4_route">
   <title>Lowrance USR 4, 5 and 6 Route Object Format</title>
   <tgroup cols="8">
     <colspec colname="u2" align="center" colwidth="22pt"/>
@@ -655,15 +655,15 @@ The following tables detail the content format of USR data files.</para>
     <colspec colname="u4" align="center" colwidth="22pt"/>
     <colspec colname="u5" align="center" colwidth="22pt"/>
     <colspec colname="u6" align="center" colwidth="22pt"/>
-    <colspec colname="f" colwidth="*" />
-    <colspec colname="s" align="center"  colwidth="34pt"/>
+    <colspec colname="f" colwidth="*"/>
+    <colspec colname="s" align="center" colwidth="34pt"/>
     <colspec colname="d" colwidth="2*"/>
     <thead>
       <row>
         <entry namest="u2" nameend="u6" align="center">Present In</entry>
-        <entry></entry>
-        <entry></entry>
-        <entry></entry>
+        <entry/>
+        <entry/>
+        <entry/>
       </row>
       <row>
         <entry>USR 2</entry>
@@ -748,7 +748,7 @@ The following tables detail the content format of USR data files.</para>
   </tgroup>
 </table>
 
-<table id="usr4_leg">
+<table xml:id="usr4_leg">
   <title>Lowrance USR 4, 5 and 6 Route Leg Object Format</title>
   <tgroup cols="8">
     <colspec colname="u2" align="center" colwidth="22pt"/>
@@ -756,15 +756,15 @@ The following tables detail the content format of USR data files.</para>
     <colspec colname="u4" align="center" colwidth="22pt"/>
     <colspec colname="u5" align="center" colwidth="22pt"/>
     <colspec colname="u6" align="center" colwidth="22pt"/>
-    <colspec colname="f" colwidth="*" />
-    <colspec colname="s" align="center"  colwidth="34pt"/>
+    <colspec colname="f" colwidth="*"/>
+    <colspec colname="s" align="center" colwidth="34pt"/>
     <colspec colname="d" colwidth="2*"/>
     <thead>
       <row>
         <entry namest="u2" nameend="u6" align="center">Present In</entry>
-        <entry></entry>
-        <entry></entry>
-        <entry></entry>
+        <entry/>
+        <entry/>
+        <entry/>
       </row>
       <row>
         <entry>USR 2</entry>
@@ -804,7 +804,7 @@ The following tables detail the content format of USR data files.</para>
   </tgroup>
 </table>
 
-<table id="usr_eventmarker">
+<table xml:id="usr_eventmarker">
   <title>Lowrance USR 2 and 3 Event Marker ICON Object Format</title>
   <tgroup cols="8">
     <colspec colname="u2" align="center" colwidth="22pt"/>
@@ -812,15 +812,15 @@ The following tables detail the content format of USR data files.</para>
     <colspec colname="u4" align="center" colwidth="22pt"/>
     <colspec colname="u5" align="center" colwidth="22pt"/>
     <colspec colname="u6" align="center" colwidth="22pt"/>
-    <colspec colname="f" colwidth="*" />
-    <colspec colname="s" align="center"  colwidth="34pt"/>
+    <colspec colname="f" colwidth="*"/>
+    <colspec colname="s" align="center" colwidth="34pt"/>
     <colspec colname="d" colwidth="2*"/>
     <thead>
       <row>
         <entry namest="u2" nameend="u6" align="center">Present In</entry>
-        <entry></entry>
-        <entry></entry>
-        <entry></entry>
+        <entry/>
+        <entry/>
+        <entry/>
       </row>
       <row>
         <entry>USR 2</entry>
@@ -856,7 +856,7 @@ The following tables detail the content format of USR data files.</para>
   </tgroup>
 </table>
 
-<table id="usr_trail">
+<table xml:id="usr_trail">
   <title>Lowrance USR 2 and 3 Trail Object Format</title>
   <tgroup cols="8">
     <colspec colname="u2" align="center" colwidth="22pt"/>
@@ -864,15 +864,15 @@ The following tables detail the content format of USR data files.</para>
     <colspec colname="u4" align="center" colwidth="22pt"/>
     <colspec colname="u5" align="center" colwidth="22pt"/>
     <colspec colname="u6" align="center" colwidth="22pt"/>
-    <colspec colname="f" colwidth="*" />
-    <colspec colname="s" align="center"  colwidth="34pt"/>
+    <colspec colname="f" colwidth="*"/>
+    <colspec colname="s" align="center" colwidth="34pt"/>
     <colspec colname="d" colwidth="2*"/>
     <thead>
       <row>
         <entry namest="u2" nameend="u6" align="center">Present In</entry>
-        <entry></entry>
-        <entry></entry>
-        <entry></entry>
+        <entry/>
+        <entry/>
+        <entry/>
       </row>
       <row>
         <entry>USR 2</entry>
@@ -927,7 +927,7 @@ The following tables detail the content format of USR data files.</para>
 </table>
 
 
-<table id="usr_trail_pts">
+<table xml:id="usr_trail_pts">
   <title>Lowrance USR 2 and 3 Trail Point Object Format</title>
   <tgroup cols="8">
     <colspec colname="u2" align="center" colwidth="22pt"/>
@@ -935,15 +935,15 @@ The following tables detail the content format of USR data files.</para>
     <colspec colname="u4" align="center" colwidth="22pt"/>
     <colspec colname="u5" align="center" colwidth="22pt"/>
     <colspec colname="u6" align="center" colwidth="22pt"/>
-    <colspec colname="f" colwidth="*" />
-    <colspec colname="s" align="center"  colwidth="34pt"/>
+    <colspec colname="f" colwidth="*"/>
+    <colspec colname="s" align="center" colwidth="34pt"/>
     <colspec colname="d" colwidth="2*"/>
     <thead>
       <row>
         <entry namest="u2" nameend="u6" align="center">Present In</entry>
-        <entry></entry>
-        <entry></entry>
-        <entry></entry>
+        <entry/>
+        <entry/>
+        <entry/>
       </row>
       <row>
         <entry>USR 2</entry>
@@ -973,7 +973,7 @@ The following tables detail the content format of USR data files.</para>
   </tgroup>
 </table>
 
-<table id="usr4_trail">
+<table xml:id="usr4_trail">
   <title>Lowrance USR 4, 5 and 6 Trail Object Format</title>
   <tgroup cols="8">
     <colspec colname="u2" align="center" colwidth="22pt"/>
@@ -981,15 +981,15 @@ The following tables detail the content format of USR data files.</para>
     <colspec colname="u4" align="center" colwidth="22pt"/>
     <colspec colname="u5" align="center" colwidth="22pt"/>
     <colspec colname="u6" align="center" colwidth="22pt"/>
-    <colspec colname="f" colwidth="*" />
-    <colspec colname="s" align="center"  colwidth="34pt"/>
+    <colspec colname="f" colwidth="*"/>
+    <colspec colname="s" align="center" colwidth="34pt"/>
     <colspec colname="d" colwidth="2*"/>
     <thead>
       <row>
         <entry namest="u2" nameend="u6" align="center">Present In</entry>
-        <entry></entry>
-        <entry></entry>
-        <entry></entry>
+        <entry/>
+        <entry/>
+        <entry/>
       </row>
       <row>
         <entry>USR 2</entry>
@@ -1127,7 +1127,7 @@ The following tables detail the content format of USR data files.</para>
   </tgroup>
 </table>
 
-<table id="usr4_trail_pts">
+<table xml:id="usr4_trail_pts">
   <title>Lowrance USR 4, 5 and 6 Trail Point Object Format </title>
   <tgroup cols="8">
     <colspec colname="u2" align="center" colwidth="22pt"/>
@@ -1135,15 +1135,15 @@ The following tables detail the content format of USR data files.</para>
     <colspec colname="u4" align="center" colwidth="22pt"/>
     <colspec colname="u5" align="center" colwidth="22pt"/>
     <colspec colname="u6" align="center" colwidth="22pt"/>
-    <colspec colname="f" colwidth="*" />
-    <colspec colname="s" align="center"  colwidth="34pt"/>
+    <colspec colname="f" colwidth="*"/>
+    <colspec colname="s" align="center" colwidth="34pt"/>
     <colspec colname="d" colwidth="2*"/>
     <thead>
       <row>
         <entry namest="u2" nameend="u6" align="center">Present In</entry>
-        <entry></entry>
-        <entry></entry>
-        <entry></entry>
+        <entry/>
+        <entry/>
+        <entry/>
       </row>
       <row>
         <entry>USR 2</entry>
@@ -1199,39 +1199,39 @@ The following tables detail the content format of USR data files.</para>
 
 <para>
 Some Lowrance units have the ability to export
-<ulink url="https://www.topografix.com/gpx.asp">GPX</ulink> (GPS Exchange Format) formatted data.
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.topografix.com/gpx.asp">GPX</link> (GPS Exchange Format) formatted data.
 Lowrance only provides minimal
 support for GPX export data on their HOOK2 series (only data available to the author).  Refer to
-the official <ulink url="https://www.topografix.com/gpx/1/1/">GPX 1.1 Schema Documentation</ulink> for the complete schema.
+the official <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.topografix.com/gpx/1/1/">GPX 1.1 Schema Documentation</link> for the complete schema.
 </para>
-<example id="lowrance-export">
+<example xml:id="lowrance-export">
   <title>Lowrance GPX Export Data</title>
   <programlisting>
-    &lt;metadata>
-      &lt;time>xsd:dateTime&lt;/time>
-      &lt;depthunits>meters&lt;/depthunits>
-      &lt;tempunits>C&lt;/tempunits>
-      &lt;sogunits>m/s&lt;/sogunits>
-    &lt;/metadata>
-    &lt;wpt lon="longitudeType" lat="latitudeType">
-      &lt;time>xsd:dateTime&lt;/time>
-      &lt;name>xsd:string&lt;/name>
-      &lt;sym>xsd:string&lt;/sym>
-    &lt;/rte>
-      &lt;name>xsd:string&lt;/name>
-      &lt;rtept lon="longitudeType" lat="latitudeType">
-        &lt;time>xsd:dateTime&lt;/time>
-        &lt;name>xsd:string&lt;/name>
-        &lt;sym>xsd:string&lt;/sym>
-      &lt;/rtept>
-    &lt;/rte>
-    &lt;trk>
-      &lt;name>xsd:string&lt;/name>
-      &lt;trkseg>
-        &lt;trkpt lon="longitudeType" lat="latitudeType">
-          &lt;time>xsd:dateTime&lt;/time>
-        &lt;/trkpt>
-      &lt;/trkseg>
-    &lt;/trk>
+    &lt;metadata&gt;
+      &lt;time&gt;xsd:dateTime&lt;/time&gt;
+      &lt;depthunits&gt;meters&lt;/depthunits&gt;
+      &lt;tempunits&gt;C&lt;/tempunits&gt;
+      &lt;sogunits&gt;m/s&lt;/sogunits&gt;
+    &lt;/metadata&gt;
+    &lt;wpt lon="longitudeType" lat="latitudeType"&gt;
+      &lt;time&gt;xsd:dateTime&lt;/time&gt;
+      &lt;name&gt;xsd:string&lt;/name&gt;
+      &lt;sym&gt;xsd:string&lt;/sym&gt;
+    &lt;/rte&gt;
+      &lt;name&gt;xsd:string&lt;/name&gt;
+      &lt;rtept lon="longitudeType" lat="latitudeType"&gt;
+        &lt;time&gt;xsd:dateTime&lt;/time&gt;
+        &lt;name&gt;xsd:string&lt;/name&gt;
+        &lt;sym&gt;xsd:string&lt;/sym&gt;
+      &lt;/rtept&gt;
+    &lt;/rte&gt;
+    &lt;trk&gt;
+      &lt;name&gt;xsd:string&lt;/name&gt;
+      &lt;trkseg&gt;
+        &lt;trkpt lon="longitudeType" lat="latitudeType"&gt;
+          &lt;time&gt;xsd:dateTime&lt;/time&gt;
+        &lt;/trkpt&gt;
+      &lt;/trkseg&gt;
+    &lt;/trk&gt;
   </programlisting>
 </example>
index 108f86d69d565de38387f12c7ebd8ea580b0b7a5..100d65775753c1f43858e7106743da9a7051588c 100644 (file)
@@ -4,7 +4,7 @@
        configuration, it can store ~100000 trackpoints with very limited
         data; to configure extended logging you can use the BT747 open
        source software
-         <ulink url="http://bt747.wiki.sourceforge.net">bt747</ulink>
+         <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://bt747.wiki.sourceforge.net">bt747</link>
         Waypoint storage is possible only if "recording reason" (RCR) is enabled in the settings.
 </para>
 <para>
index fa6602256a74ade57a973cbdbd77616a17ae4108..182699b313829228493a6430e849e83c21ac52af 100644 (file)
@@ -4,7 +4,7 @@
        configuration, it can store ~100000 trackpoints with very limited
         data; to configure extended logging you can use the BT747 open
        source software
-         <ulink url="http://bt747.wiki.sourceforge.net">bt747</ulink>
+         <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://bt747.wiki.sourceforge.net">bt747</link>
         Waypoint storage is possible only if "recording reason" (RCR) is enabled in the settings.
 </para>
 <para>
@@ -12,7 +12,7 @@
   internally used the Silicon Labs CP210X chipset to transform the internal and
   inaccessible serial port to the USB port that was familiar on the side. The
   drivers for that port can be found with
-  <ulink url="https://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx">SiLabs CP210x serial port drivers</ulink>. The red and white one existed
+  <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx">SiLabs CP210x serial port drivers</link>. The red and white one existed
   very briefly before Holux went out of business. GPSBabel does not work with
   the red and white one.
 
index 1c5a4700530a83fdd3b5da75b1d6a6fe3a9ed499..9a25f8e6ad3e1ba30872416881b9834e41029637 100644 (file)
@@ -1,5 +1,5 @@
-<para>GPSBabel supports the following <ulink url="http://www.magellangps.com">Magellan</ulink> receivers:
-<simplelist columns="2">
+<para>GPSBabel supports the following <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.magellangps.com">Magellan</link> receivers:
+<simplelist columns="2" type="vert">
        <member>310</member>
        <member>315</member>
        <member>Map330</member>
index 331bec64dcb1048d8147d6b84f01cb5d8d302db4..e3936649a352daf32b102443d518abe6b09ac792 100644 (file)
@@ -1,5 +1,5 @@
-<para>GPSBabel supports the following <ulink url="http://www.magellangps.com">Magellan</ulink> receivers:
-<simplelist columns="2">
+<para>GPSBabel supports the following <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.magellangps.com">Magellan</link> receivers:
+<simplelist columns="2" type="vert">
        <member>310</member>
        <member>315</member>
        <member>Map330</member>
@@ -48,7 +48,7 @@ The RoadMate family of products is not supported.
 <para>
 This module does not support the units that do not follow Magellan's
 documented communications protocols including:</para>
-<simplelist columns="2">
+<simplelist columns="2" type="vert">
 <member>Maestro 3100</member>
 <member>Maestro 3140</member>
 <member>Maestro 3200</member>
index 179a7f3c5f3627743d626f46204b9313ac3128fb..ff074204854765782a4e8600e39b70c195b6dff2 100644 (file)
@@ -1,5 +1,5 @@
 <para>
-       This is the SD card format used by the <ulink url="http://www.magellangps.com">Magellan</ulink> Explorist 400,
+       This is the SD card format used by the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.magellangps.com">Magellan</link> Explorist 400,
        Explorist 500, Explorist 600, and Explorist XL and internally on those devices plus the
        Explorist 210.  Stored waypoints are identical to the <link linkend="fmt_magellan">Magellan SD format</link>
        used by Meridian, but the newer models allow longer waypoint names.  Routes are
@@ -11,4 +11,3 @@
        Similarly, routes should be named ".rte" and tracks should be
        named ".log".
 </para>
-
index 38d25e0fc9383d068baa30d7653905577b316f2f..fabc1edf26d5ba726729ec934e9033450b2cb9fc 100644 (file)
@@ -9,7 +9,7 @@ Following a list of devices which should be supported by this module
 (Note that not all of them have actually been tested, so if you can confirm that additional models work, please mail the gpsbabel-misc group with your success, tips, and any pertinent links for your model.)
 </para>
 
-<table id="miniHomer_devices">
+<table xml:id="miniHomer_devices">
 <title>Devices supported by miniHomer module</title>
 <tgroup cols="4">
 <thead>
@@ -23,8 +23,8 @@ Following a list of devices which should be supported by this module
 <tbody>
 <row>
   <entry>
-       <ulink url="http://navin.com.tw/miniHomer.htm"> Navin </ulink>
-       <ulink url="http://www.znex.de/minihomer-details.html">Z:NEX</ulink>
+       <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://navin.com.tw/miniHomer.htm"> Navin </link>
+       <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.znex.de/minihomer-details.html">Z:NEX</link>
   </entry>
   <entry>miniHomer</entry>
   <entry>up to 230400</entry>
@@ -34,12 +34,12 @@ Following a list of devices which should be supported by this module
 </tgroup>
 </table>
 
-<example id="miniHomer-on-linux">
+<example xml:id="miniHomer-on-linux">
   <title>Command showing miniHomer download of tracks and erasing the logger on Linux</title>
   <para><userinput>gpsbabel -i miniHomer,erase -f /dev/ttyUSB0 -o gpx -F out.gpx</userinput></para>
 </example>
 
-<example id="miniHomer-erase">
+<example xml:id="miniHomer-erase">
   <title>Command showing miniHomer erasing the logger without download on Linux</title>
   <para><userinput>gpsbabel -i miniHomer,erase,no-output -f /dev/ttyUSB0</userinput></para>
 </example>
@@ -49,7 +49,7 @@ Following a list of devices which should be supported by this module
 <emphasis>&lt;name&gt;=&lt;lat&gt;:&lt;lng&gt;[:&lt;alt&gt;]</emphasis>
 Once the according POI symbol is selected on miniHomer, the display shows you the direction and distance to the POI.
 </para>
-<example id="miniHomer-on-linux-poi">
+<example xml:id="miniHomer-on-linux-poi">
   <title>Command showing miniHomer setting Car and Home POI</title>
   <para>
        <userinput>
index 9a186eba7674e54baf89877258b8222145f1b2b8..85069efbf75c51ea1128acf47548f9a8dffefa7c 100644 (file)
@@ -3,7 +3,7 @@ This format reads the raw binary format created by the MTK Windows application
 and outputs to other formats  supported by GPSBabel
 When using the csv option a MTK application compatible output file will also be created.</para>
 <para>
-It has been tested with <productname>Transystem i-Blue 747</productname> but other devices should
+It has been tested with <trademark>Transystem i-Blue 747</trademark> but other devices should
 work as well (Qstarz BT-Q1000, iTrek Z1, ...)
 </para><para>
 All position items (including button push) will be listed as trackpoints in the output.
@@ -13,9 +13,9 @@ log session from the button press we would loose a trackpoint unless we include/
 
 </para>
 <para>
-<ulink url="http://www.transystem.com.tw/p-gps-iblue747.htm">Transystem i-Blue 747</ulink>
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.transystem.com.tw/p-gps-iblue747.htm">Transystem i-Blue 747</link>
 </para>
-<example id="mtk-bin-on-linux">
+<example xml:id="mtk-bin-on-linux">
   <title>Convert MTK binary trackpoints to GPX</title>
   <para>
   <userinput>gpsbabel -t -i mtk-bin,csv=extra.csv -f data.bin -o gpx -F out.gpx</userinput>
@@ -23,4 +23,3 @@ log session from the button press we would loose a trackpoint unless we include/
   </para>
 
 </example>
-
index 3543f3b58a358c4512ac859dbe21614f239e8a55..49f6848f49bcce1b9fdf127bd3cae7d30494dc9e 100644 (file)
@@ -25,7 +25,7 @@ compass or motion sensors or charging cables with different model numbers.
 If you can confirm success with others, please share with us.
 </para>
 
-<table id="mtk_devices">
+<table xml:id="mtk_devices">
 <title>Devices supported by MTK module</title>
 <tgroup cols="3">
 <thead>
@@ -39,22 +39,22 @@ If you can confirm success with others, please share with us.
 <row>
  <entry>iBlue 821</entry>
  <entry>Yes</entry>
- <entry>Available from <ulink url="http://www.semsons.com/i821ulblgpsr.html">Semsons</ulink></entry>
+ <entry>Available from <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.semsons.com/i821ulblgpsr.html">Semsons</link></entry>
 </row>
 <row>
  <entry>iBlue 747, 747A+</entry>
  <entry>Yes</entry>
- <entry>Available from <ulink url="http://www.semsons.com/i74blgpsdalo.html">Semsons</ulink></entry>
+ <entry>Available from <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.semsons.com/i74blgpsdalo.html">Semsons</link></entry>
 </row>
 <row>
  <entry>QStarz BT-1000, BT-Q1000X, BT-1000eX</entry>
  <entry>Yes</entry>
- <entry></entry>
+ <entry/>
 </row>
 <row>
  <entry>iTrek Z1</entry>
- <entry></entry>
- <entry></entry>
+ <entry/>
+ <entry/>
 </row>
 </tbody>
 </tgroup>
@@ -66,7 +66,7 @@ If you can confirm success with others, please share with us.
   these devices typically look like Prolific, FTDI, or Silab usb/serial
   devices to the host OS.  You'll need drivers for that whatever chip
   your product uses for your operating system.  For the "A+ GPS Recorder",
-  the <ulink url="http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx">Silicon Labs CP210x chip</ulink> is used.  On OS/X, you'll get
+  the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx">Silicon Labs CP210x chip</link> is used.  On OS/X, you'll get
   awesome device names like /dev/cu.usbmodem1d13410 - fortunately, our GUI
   makes that multiple choice so you don't have to guess.
 </para>
@@ -79,17 +79,17 @@ If you can confirm success with others, please share with us.
 
 
 <para>See <link linkend="fmt_mtk-bin">mtk-bin</link> on how trackpoints/waypoints are handled</para>
-<example id="mtk-on-linux">
+<example xml:id="mtk-on-linux">
   <title>Command showing MTK download track and waypoints and erase on Linux</title>
   <para><userinput>gpsbabel -t -w -i mtk,erase -f /dev/ttyUSB0 -o gpx -F out.gpx</userinput></para>
 </example>
 
 <para>
   For more info and tweaks on MTK based loggers:
-   <ulink url="http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=81990">MTK Tips and Tweaks</ulink> and
-   <ulink url="http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=81315">iBlue 747 Logger</ulink>
+   <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=81990">MTK Tips and Tweaks</link> and
+   <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=81315">iBlue 747 Logger</link>
  For info about the used log format, see
-  <ulink url="http://spreadsheets.google.com/pub?key=pyCLH-0TdNe-5N-5tBokuOA&amp;gid=5">MTK binary format</ulink>
+  <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://spreadsheets.google.com/pub?key=pyCLH-0TdNe-5N-5tBokuOA&amp;gid=5">MTK binary format</link>
 </para>
 <para>
 Most of the loggers cannot receive bluetooth commands; they can only send
index 19cf549edced9b8929bbee0a3043e7b6b1b5bc80..333ec5a5b71ca870c633d2245866785b209c6cbb 100644 (file)
@@ -1,10 +1,10 @@
 <para>
        GPSBabel supports the Navilink protocol used by the
-       <ulink url="http://www.locosystech.com/product.php?zln=en&amp;id=5">Locosys GT-11</ulink>
+       <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.locosystech.com/product.php?zln=en&amp;id=5">Locosys GT-11</link>
        and
-       <ulink url="http://www.locosystech.com/product.php?zln=en&amp;id=30">GT-31</ulink>
+       <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.locosystech.com/product.php?zln=en&amp;id=30">GT-31</link>
        GPS receivers. These are sold under a variety of names including:
-<simplelist columns="3">
+<simplelist columns="3" type="vert">
        <member>NaviGPS</member>
        <member>NaviGPS-BT</member>
        <member>GT-11</member>
        present itself to the host operating system. You thus need
        USB drivers for the PL2303, such as those from the 'Download'
        section of
-       <ulink url="http://www.locosystech.com/product.php?zln=en&amp;id=30#">
+       <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.locosystech.com/product.php?zln=en&amp;id=30#">
        Locosys USB Genie GT-31/BGT-31 drivers
-       </ulink>.
+       </link>.
 </para>
 <para>
        Details of the Navilink serial protocol can be found
-       <ulink url="http://notes.splitbrain.org/navilink">here</ulink>.
+       <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://notes.splitbrain.org/navilink">here</link>.
 </para>
index eb4fb6ecb5171a21d0d62696049a3bbd9c4c3e97..6724a93ca4657d9295c8e4bfc377912e86dcb47a 100644 (file)
@@ -5,33 +5,33 @@
 log and waypoint format for GPS devices.  Some hardware and software
 that work with NMEA-0183 formatted data include:
 </para>
-<simplelist columns="3">
+<simplelist columns="3" type="vert">
 <member>
-  <ulink url="http://homepages.tig.com.au/~robk/datalogger.html">GPS Data Logger</ulink>
+  <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://homepages.tig.com.au/~robk/datalogger.html">GPS Data Logger</link>
 </member>
 <member>
-  <ulink url="http://www.gpstm.com/eng/features_eng.htm ">GPS TrackMaker</ulink>
+  <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.gpstm.com/eng/features_eng.htm ">GPS TrackMaker</link>
 </member>
 <member>
-  <ulink url="http://www.gpsmaster.nl/ ">GPSMaster</ulink>
+  <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.gpsmaster.nl/ ">GPSMaster</link>
 </member>
 <member>
-  <ulink url="http://www.silcom.com/~rwhately/index.html">NMEAlog</ulink>
+  <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.silcom.com/~rwhately/index.html">NMEAlog</link>
 </member>
 <member>
-  <ulink url="http://www.visualgps.net/VisualGPSce/default.htm">VisualGPS</ulink>
+  <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.visualgps.net/VisualGPSce/default.htm">VisualGPS</link>
 </member>
 <member>
-  <ulink url="http://www.gpsu.co.uk/">GPS Utility</ulink>
+  <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.gpsu.co.uk/">GPS Utility</link>
 </member>
 <member>
-  <ulink url="http://www.kolumbus.fi/eino.uikkanen/geoconvgb/index.htm">GeoConv</ulink>
+  <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.kolumbus.fi/eino.uikkanen/geoconvgb/index.htm">GeoConv</link>
 </member>
 <member>
-  <ulink url="http://www.commlinx.com.au/GPS_recorder.htm">CommLinx GPS recorder</ulink>
+  <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.commlinx.com.au/GPS_recorder.htm">CommLinx GPS recorder</link>
 </member>
 <member>
-  <ulink url="http://www.sparkfun.com/">SparkFun GPS Datalogger</ulink>
+  <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.sparkfun.com/">SparkFun GPS Datalogger</link>
 </member>
 <member>
   AMOD 3080 GPS
index 58424f011747c1a711281fde51bda4ba236373ab..415a07c11a78c413ea92950b98d809070d319b53 100644 (file)
@@ -3,7 +3,7 @@
        format.  Intended to serve as source for number-processing
        applications like OpenOffice, Ploticus and others. Tab was chosen as
        delimiter because it is a) supported by both OpenOffice and Ploticus
-       and b) is not ',', so you can use <userinput moreinfo="none">sed -i
+       and b) is not ',', so you can use <userinput>sed -i
        "s/./,/g" &lt;x&gt;.csv'</userinput> to adapt it to locales where ',' is
        used as decimal separator.  Contributed by Tobias Minich.
 </para>
index 58f90f2bb93e5f8175d2d021ea11c0f79e40b356..78dd15ac02ea30cfc2278472b97537d95b06ea58 100644 (file)
@@ -7,4 +7,3 @@
   </userinput>
   The resulting waypoint in OUT.GPX has name IMG_1199.
 </para>
-
index 0ad934ef995dd397b5c38ff05b85fe01522841a7..ff1bbf1381005b2f1c254b3cec1fc136db403c6a 100644 (file)
@@ -6,4 +6,3 @@
 <para>
   <userinput>gpsbabel -i gpx -f holiday.gpx -o exif,name="On the beach" -F IMG0786.JPG</userinput>
 </para>
-
index ee39c4bba11332f239fa7df71f2d4b68872b5302..aaa1d97afdf5019eb77f051074801330bc7d2f02 100644 (file)
@@ -4,7 +4,7 @@
  this options allows you to specify a bitmask to be used for the category.
  Options may be specified in either decimal or hex.
 </para>
-<example id="garmin_bitcategory">
+<example xml:id="garmin_bitcategory">
   <title>Example for garmin bitcategory option to put all waypoints in categories 1 and 16.</title>
 <para>
   The following two commands are equivalent.  They place a the point in both the first and last of the sixteen available categories.
index 26ff03d893ddf7e86c631a2e640a0885ad5f182f..01f1ed279b8a9b33018f47a5faea97c032a19422 100644 (file)
@@ -9,9 +9,8 @@ overrides any icon description that might be in the input file.
 </para>
 <para>
 Value specified may be a number from the Garmin Protocol Spec or a name
-as described in the <xref linkend="GarminIcons"></xref>.
+as described in the <xref linkend="GarminIcons"/>.
 </para>
 <para>
 This option has no effect on input.
 </para>
-
index 7962fac8516613e5c2ea5c160c9c9ab83181235e..06ea391a721988d3362835acc091844c01cf41bb 100644 (file)
@@ -12,4 +12,3 @@
     gpsbabel -i gpx -f "warnings.gpx" -o garmin_gpi,alerts=1 -F "warnings.gpi"
   </userinput>
 </para>
-
index fb1217108adf3507af33de5d2c167434b0a309db..68d84616f77f8bcf293e04faab707bc4483baac1 100644 (file)
@@ -5,7 +5,7 @@ to use GPSBabel will print an error message containing the language codes used i
 Subsequently you may use one of these codes with the languagecode
 option to specify which language to use.
 </para>
-<example id="gpi_languagecode_notspecified">
+<example xml:id="gpi_languagecode_notspecified">
   <title>Example with unspecified language and a garmin points of interest dual language file.</title>
   <para>
     <userinput>
@@ -17,7 +17,7 @@ option to specify which language to use.
     </simplelist>
   </para>
 </example>
-<example id="gpi_languagecode_specified">
+<example xml:id="gpi_languagecode_specified">
   <title>Example for specifying language with a garmin points of interest dual language file.</title>
   <para>
     <userinput>
index c9d5382b6f2defdae44e2e5e5ee5025dabacac5e..0c3f451e11f2b7bcf6355927af94bf346cc62334 100644 (file)
@@ -8,4 +8,3 @@
     gpsbabel -i gpx -f "My Points.gpx" -o garmin_gpi,notes -F "My Points.gpi"
   </userinput>
 </para>
-
index cba909bef93a74caf048c3b0ef3ea3e36b73a715..9760102fc76f55f86d693ee5555ede0b06dcce72 100644 (file)
@@ -3,7 +3,7 @@
   The parameter has to be in meters, or, when units=s specified, in miles.
   <link linkend="fmt_garmin_gpi_o_alerts">alerts</link> are automatically enabled.
 </para>
-<example id="garmin_gpi_speedcams">
+<example xml:id="garmin_gpi_speedcams">
 <title>Read GPX file, create GPI to alert when you're 1/2 mile from a speed camera.</title>
 <para>
   <userinput>
@@ -20,7 +20,7 @@
   </userinput>
 </para>
 <para>
-  <table id="distance_units">
+  <table xml:id="distance_units">
   <title>Supported distance units (garmin_gpi)</title>
   <tgroup cols="2">
   <thead>
index 0c8123958190f8985748bdad007cd881d39cefce..37ee04b7ff2bfac1d93d4f994bfddc5ce010d537 100644 (file)
@@ -18,7 +18,7 @@
   </userinput>
 </para>
 <para>
-  <table id="garmin_gpi_speed_units">
+  <table xml:id="garmin_gpi_speed_units">
   <title>Supported speed units (garmin_gpi)</title>
   <tgroup cols="2">
   <thead>
index 3985fa9c21f81a0b189577c8345c39b1d74754fa..9af12b0e0a7352fa5157b78e98d8771497af2f81 100644 (file)
@@ -6,4 +6,3 @@
     gpsbabel -i gpx -f "My Points.gpx" -o garmin_gpi,unique=0 -F "My Points.gpi"
   </userinput>
 </para>
-
index fc344b75093ec3d05b747d2290209396a18e9676..466697f1f69dba24d62b421a19b16b3df7e8f378 100644 (file)
@@ -4,4 +4,3 @@
     gpsbabel -i gpx -f "My Points.gpx" -o garmin_gpi,units=s -F "My Points.gpi"
   </userinput>
 </para>
-
index b5c8a5a066c94ebf3fc42dc861e93ad6af2c087d..e3c0d104fc3279e2d2fb594a70ccdbdcc8add208 100644 (file)
@@ -1,4 +1,4 @@
 <para>
 This option specifies the datum to be used on output.  Valid values for this
-option are listed in <xref linkend="Datums" />.
+option are listed in <xref linkend="Datums"/>.
 </para>
index 70365d0a4341a785875d7370aaecc6b64ba98d45..78da4e2b1193dc15f95c54f91c63d28cc08e611e 100644 (file)
@@ -1,7 +1,7 @@
 <para>
   This value specifies the grid to be used on write.
 </para>
-<table id="garmin_grid">
+<table xml:id="garmin_grid">
 <title>Grid values for garmin_txt</title>
 <tgroup cols="4">
 <thead>
@@ -58,5 +58,3 @@
 <para>
   Idx or short are valid params for this option.
 </para>
-
-
index a387781300ae090b67c185ff9065dc1023087c0f..4a08e86b6c8004265d4fd04d9dedc9f18c2d088e 100644 (file)
@@ -4,7 +4,7 @@
  this options allows you to specify a bitmask to be used for the category.
  Options may be specified in either decimal or hex.
 </para>
-<example id="gdb_bitscategory">
+<example xml:id="gdb_bitscategory">
   <title>Example for gdb bitcategory option to put all waypoints in categories 1 and 16.</title>
 <para>
   The following two commands are equivalent.  They place a the point in both the first and last of the sixteen available categories.
index 8a56051a172cddb52713a029432b042420902f63..baa3b0ff8f5f676a407ccc88546b7c49f9e7ccce 100644 (file)
@@ -2,4 +2,3 @@
 This option instructs GPSBabel to drop hidden (calculated) points from
 routes when creating waypoints.  These points are not converted to waypoints, but they are converted to route points.
 </para>
-
index c17af724382bd7812878529b2b52c1290edd7b16..5080dd0f8449812ddb39c0ccc2861ac742ab35f4 100644 (file)
@@ -4,7 +4,7 @@
   The priority of this option is higher than of the <option>via</option> and <option>dropwpt</option> options.
   A value of 1 or y overwrites the <option>via</option> and <option>dropwpt</option> settings.
 </para>
-<example id="gdb_roadbook_option">
+<example xml:id="gdb_roadbook_option">
   <title>Using gdb option <option>roadbook</option> to create simple html roadbook</title>
   <para>
     <userinput>
index 439d675f909bd5968af73c5b969e36aef844b3dc..7549ab51022e5335afa9a272aff55b75ab2ec637 100644 (file)
@@ -2,4 +2,3 @@
 This option instructs GPSBabel to drop hidden (calculated) points from
 routes.  These points are not converted to waypoints or route points.
 </para>
-
index bef014fd1950ede84bf42a91733628b7195d5937..02efe2b576f20fef39d5e61a06207f7367f01783 100644 (file)
@@ -13,5 +13,3 @@ There is no list of valid values for this option.
 <para>
 This option has no effect on input.
 </para>
-
-
index d9987d2495eed10eb94bf11f21172341db225db3..325861d02d2c22c75c200f00ec9cb28017f5df6d 100644 (file)
@@ -6,4 +6,3 @@ input file.
 <para>
 This option has no effect on output.
 </para>
-
index de46c5a8c397fbda7c46971c9c19455c7229d00e..9a9c7288f2d7f4f4389a3aab15f5449ca88d8302 100644 (file)
@@ -1,7 +1,7 @@
 <para>
 The showlist argument displays the list of tracks stored on the device.
 </para>
-<example id="globalsat-option-showlist">
+<example xml:id="globalsat-option-showlist">
   <title>Command showing list of tracks on device</title>
   <para>
     <userinput>gpsbabel -i globalsat,showlist=1 -f /dev/ttyUSB0</userinput>
index 42e0ec1771ab666d464c48fcacd3616041857bdb..fa0ff87e2565824e2fbcdeb807fda0f6371e927d 100644 (file)
@@ -3,7 +3,7 @@ The 'track' option is used to fetch a single named track, probably one you
 learned about via the 'showlist' option from a previous invocation, instead
 of fetching all the tracks, which is our default.
 </para>
-<example id="globalsat-option-track">
+<example xml:id="globalsat-option-track">
   <title>Command track can be used to fetch a single track, default is all tracks</title>
   <para><userinput>gpsbabel -i globalsat,track=number -f /dev/ttyUSB0 -o gpx,garminextensions -F outfile.gpx</userinput></para>
 </example>
index 2739b48895212a102ac5fecc24de58fd3e369855..eb4a29713ddb99c86e68072ec9b94cc5e5384ead 100644 (file)
@@ -1,5 +1,5 @@
 <para>
-       When reading <ulink url="http://www.geocaching.com"> Groundspeak Pocket Queries </ulink>, the <option>logpoint</option> option creates additional waypoints from the log entries.
+       When reading <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.geocaching.com"> Groundspeak Pocket Queries </link>, the <option>logpoint</option> option creates additional waypoints from the log entries.
 </para>
 <para>
        A typical use for this is to get coordinates read from "corrected coordinates" logs.
index fefa663cfcf10dd76119d9542ff682c7f93aaac8..4f3169deae109433ede84ee249b53d434d383cc5 100644 (file)
@@ -1,4 +1,3 @@
 <para>
   This is a fairly esoteric option.  If the GPX file you are reading has only base pathnames (e.g "foo.html") the value you specify to this argument will be prepended to that.  For example, "-o gpx,urlbase=c:\My Documents\Whatever" would result in the link to that waypoint being written to refer to <filename>c:\My Document\WHatever\foo.html</filename>
 </para>
-
index eb345d9b8209fdedbc70e10dec8e2b7b33f8b4a4..e6400305531b51550a58c32351db90840787116c 100644 (file)
@@ -12,5 +12,3 @@ is done by comparing the time that it thinks that you landed on the GPS track
 and the barograph and adjusting accordingly:
 </para>
 <para><userinput>gpsbabel -i gpx -f baro.gpx -i igc -f my2D.igc -o igc,timeadj=auto -F my3D.igc</userinput></para>
-
-
index 3bbc62cfe6af35492e58ce912cd0915a863dc044..da776a1599949ef098425a230549d904c2b27867 100644 (file)
@@ -2,4 +2,3 @@
 This option specifies the line color as a hexadecimal number in
 AABBGGRR format, where A is alpha, B is blue, G is green, and R is red.
 </para>
-
index 3f8241d46c79558024bad4c8064b653806983582..547b28deb309856ccc8d5123e597f65da0ce1ef5 100644 (file)
@@ -3,4 +3,3 @@ When this option is nonzero, GPSBabel draws placemarks for tracks and routes.
 The default value for this option is 1, which causes placemarks to be drawn.
 To disable drawing of placemarks, specify <option>points=0</option>.
 </para>
-
index fa36635aef5aac441b1eeface48542ec35c423d0..95424f0dd8e29a5699f4746948d0154551b052d9 100644 (file)
@@ -1,2 +1 @@
 <para>This option erases the track log from the device after download.</para>
-
index 6eb54e27b431642fb0feb68dc1df046495b7ebf4..cb78929d42233cf3ea369e4919b090e797100d55 100644 (file)
@@ -6,7 +6,7 @@
   You can leave altitude out, in which case it is assumed to be zero.
   Note that GPSBabel terminates after writing the location info to the device, i.e. no logging data will be read from it.
 </para>
-<example id="miniHomer-Bar">
+<example xml:id="miniHomer-Bar">
   <title>Set the target location of the miniHomer Bar POI</title>
   <para>
        <userinput>gpsbabel -i miniHomer,Bar=38.99809:-86.34662 -f /dev/ttyUSB0 -o unicsv -F -</userinput>
@@ -17,4 +17,3 @@
        this location as soon as it has a satellite fix.
  </para>
 </example>
-
index 9d26fb3933036fc5f6a05e0695fd7d01faea219c..763a42b693883df3c64361fce11739ac6cb1506d 100644 (file)
@@ -6,7 +6,7 @@
   You can leave altitude out, in which case it is assumed to be zero.
   Note that GPSBabel terminates after writing the location info to the device, i.e. no logging data will be read from it.
 </para>
-<example id="miniHomer-Boat">
+<example xml:id="miniHomer-Boat">
   <title>Set the target location of the miniHomer Boat POI</title>
   <para>
        <userinput>gpsbabel -i miniHomer,Boat=32.29287:-64.77527 -f /dev/ttyUSB0 -o unicsv -F -</userinput>
@@ -17,4 +17,3 @@
        this location as soon as it has a satellite fix.
  </para>
 </example>
-
index 38690b9e4b7be4bff3651f0a85e364a6e6c952f5..f1a497c90361b76cbb81492067e208384acff2e2 100644 (file)
@@ -6,7 +6,7 @@
   You can leave altitude out, in which case it is assumed to be zero.
   Note that GPSBabel terminates after writing the location info to the device, i.e. no logging data will be read from it.
 </para>
-<example id="miniHomer-Car">
+<example xml:id="miniHomer-Car">
   <title>Set the target location of the miniHomer Car POI</title>
   <para>
        <userinput>gpsbabel -i miniHomer,Car=-25.272309:153.235330 -f /dev/ttyUSB0 -o unicsv -F -</userinput>
@@ -17,4 +17,3 @@
        this location as soon as it has a satellite fix.
  </para>
 </example>
-
index 3c07af1dac7efb79c9e1fc82dca5042456a9819b..d55c31aa1c77ee120ada54e41912d7eca7c963e8 100644 (file)
@@ -6,7 +6,7 @@
   You can leave altitude out, in which case it is assumed to be zero.
   Note that GPSBabel terminates after writing the location info to the device, i.e. no logging data will be read from it.
 </para>
-<example id="miniHomer-Heart">
+<example xml:id="miniHomer-Heart">
   <title>Set the target location of the miniHomer Heart POI</title>
   <para>
        <userinput>gpsbabel -i miniHomer,Heart=36.1269:-115.1698 -f /dev/ttyUSB0 -o unicsv -F -</userinput>
@@ -17,4 +17,3 @@
        this location as soon as it has a satellite fix.
  </para>
 </example>
-
index c583063b8a649dc682f6dd5ceca76809155f521c..53e304a101a67669291282775607316989c8ba61 100644 (file)
@@ -6,7 +6,7 @@
   You can leave altitude out, in which case it is assumed to be zero.
   Note that GPSBabel terminates after writing the location info to the device, i.e. no logging data will be read from it.
 </para>
-<example id="miniHomer-Home">
+<example xml:id="miniHomer-Home">
   <title>Set the target location of the miniHomer Home POI</title>
   <para>
        <userinput>gpsbabel -i miniHomer,Home=-3.066667:37.359167:5895 -f /dev/ttyUSB0 -o unicsv -F -</userinput>
@@ -17,4 +17,3 @@
        this location as soon as it has a satellite fix.
  </para>
 </example>
-
index 7921eb51566625b0749f7a56a574c0b904669c05..d6db3d8e74755207f6d98d4e45ab75f0652fa22a 100644 (file)
@@ -1,4 +1,3 @@
 <para>
 Erase log buffer.
 </para>
-
index 1802768cf74a413474af8bc55afe26b9651f0f75..d100b4c10263dcd6405807ce901150f8d673f1c2 100644 (file)
@@ -9,7 +9,7 @@ erased again by the user.</para>
 that on erase, only the first two sectors are actually cleared. The following example shows how to read the remaining data:
 </para>
 
-<example id="miniHomer-restore-erased">
+<example xml:id="miniHomer-restore-erased">
   <title>Command showing how to read data from an erased device</title>
   <para><userinput>gpsbabel -i miniHomer,first-sector=2 -f /dev/ttyUSB0 -o gpx -F out.gpx</userinput></para>
 </example>
index 5b99e8e3574d0af8624b9c9869fe6d12199fc859..9b7c3f8d2e5869d4a282f279eef3bfcde2fedc3b 100644 (file)
@@ -10,4 +10,3 @@ rate, if initbaud wasn't given), the initial setting will be restored after fini
 Please note that miniHomer by default uses 38400bps and does not autodetect the port speed. If you need autodetect, start as
 <userinput>gpsbabel -i miniHomer,initbaud=0 -f /dev/ttyUSB0 -o gpx -F out.gpx</userinput>
 </para>
-
index 7283235cb6f8d7e9c99947246ee82085bc4e1624..91700ecd7d8f9e746d620be490017bcbaffe7088 100644 (file)
@@ -1,4 +1,4 @@
-<para>If <userinput>read-at-once</userinput> >= 1, batch mode is enabled with that many sectors being read at a time.
+<para>If <userinput>read-at-once</userinput> &gt;= 1, batch mode is enabled with that many sectors being read at a time.
 A value of zero disables batch mode and switches to single read mode. Not all devices support batch mode; in that case
 gpsbabel automatically switches to single read mode.</para>
 
index e007e5a0306e38acfd86b8753987bce5655f932c..cdec33e49ca6b36474d2675b7c485553242fdfa2 100644 (file)
@@ -6,5 +6,3 @@ This is necessary because some NMEA sentences contain times but no dates.  If
 this option is not specified and the date cannot be determined from one or
 more of the available NMEA sentences, the tracks will be discarded.
 </para>
-
-
index d1e450265cc408c0d613b1d7eab5a45e42a2b97e..fccea3a9b28ac397b272c8d125ab6ce67a3c2fc9 100644 (file)
@@ -13,5 +13,5 @@
 </para>
 <para>
 More information can be found at the
-<ulink url="http://www.gisteq.com/">Gisteq</ulink> site.
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.gisteq.com/">Gisteq</link> site.
 </para>
index 2775560794ec84c294a2dab8693de00494b96c10..c3b6bae2fb2713f864b2eb25ebe13a8452b7a11b 100644 (file)
@@ -9,4 +9,3 @@ and the individual satellites from which it was derived.  However, GPSBabel
 neither reads nor writes the individual satellite data.  On input, the
 satellite fields are ignored and on output they are left blank.
 </para>
-
index 78de6e63ca66f6bdc3c97ed4d8341591f0ab284d..1b9493bc7ff882db63f7e0436848bffaf64bf73d 100644 (file)
@@ -8,4 +8,3 @@ GPRMC sentences contain the "recommended minimum" positional information,
 including date and time, heading, and velocity.  Note that they do not
 include altitude.  For altitude, you will have to include GPGGA sentences.
 </para>
-
index 3680b7f2099fa9f8feb6f9efa71598116f76bb30..5b11af2910677bbab94c84093a02ba14b8adb7f0 100644 (file)
@@ -8,4 +8,3 @@ GPVTG sentences contain information about the heading and the speed at the
 time of the fix.  They do not contain any location information; for that
 you will need either or both of GPGGA or GPRMC.
 </para>
-
index 2d805bb151ce52fafb1d601643e6cd3585fbd0b6..3a8cdff5a7a6f3b2ade55edf1b33132b3495f8ec 100644 (file)
@@ -28,4 +28,3 @@ If you are using this option with compressed or simplified tracks from
 your handheld GPS receiver, you might find the
 <link linkend="filter_interpolate">interpolate</link> filter useful.
 </para>
-
index d14ee7430fccc57599408e966235065c91c67cec..87a35f101ff505adc056aa899a2f44b2d92ee700 100644 (file)
@@ -3,4 +3,3 @@ This option specifies the maximum length to be used for waypoint names in
 the GPWPL sentence.  Longer names will be shortened to no more than this
 length, but all waypoint names will remain unique.
 </para>
-
index 752fa5508dae287beba3305ca63ffbcc1a8bd5da..507627a83d195e2744803bdce8fbc303754be4f1 100644 (file)
@@ -1,5 +1,5 @@
 <para>
-  With this option you can preset OSM <ulink url="http://wiki.openstreetmap.org/index.php/Map_Features">features</ulink> (tags) on all exported ways.
+  With this option you can preset OSM <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://wiki.openstreetmap.org/index.php/Map_Features">features</link> (tags) on all exported ways.
 </para>
 <para>
   <userinput>gpsbabel -i gdb -f ways.gdb -o osm,tag="highway:motorway" -F ways.osm</userinput>
index f9b10abc9e531c84b6269425f6b7e49f0e0bc2ec..07cde47999a0a8cf381b04e1cbf5ae614eb5a9e3 100644 (file)
@@ -1,5 +1,5 @@
 <para>
-  With this option you can preset OSM <ulink url="http://wiki.openstreetmap.org/index.php/Map_Features">features</ulink> (tags) on every written nodes.
+  With this option you can preset OSM <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://wiki.openstreetmap.org/index.php/Map_Features">features</link> (tags) on every written nodes.
 </para>
 <para>
   <userinput>gpsbabel -i gdb -f nodes.gdb -o osm,tagnd="amenity:pub;building:yes" -F nodes.osm</userinput>
index 1df78a26ffa602dcb12cb72f9848fef4a61d4ccb..b927010f429a34958ba8ed627f76ffa6077256aa 100644 (file)
@@ -2,4 +2,3 @@
   By default the ozi module uses feet as altitude unit. With this option you can specify also 'Meters' (m)
   as unit for altitude values.
 </para>
-
index 6aa23eddd9fd9ddb1ca62c9ccc0215010d034b34..87e30e3dcf1b74318d2b0d3ac5b68ff8a18fc9b1 100644 (file)
@@ -5,7 +5,7 @@
   and v the current speed, the device logs if
 </para>
 <para>
-   (dt > tmin and dx >= dmin and v >= vmin) or dt > tmax or dx > dmax or v > vmax
+   (dt &gt; tmin and dx &gt;= dmin and v &gt;= vmin) or dt &gt; tmax or dx &gt; dmax or v &gt; vmax
 </para>
 <para>
    If you use this option, vmin is fixed at 0 and vmax at 65535 km/h.
@@ -15,7 +15,7 @@
    happens first!)
 </para>
 
-<example id="skytraq-configulog">
+<example xml:id="skytraq-configulog">
   <title>Set the logging parameters for Skytraq device</title>
 <para>
 <userinput>
index 770b941f2c796b16ce894f68aa8b7e8dc5745673..2207291cde139125022798d8e0505b4b19d8125f 100644 (file)
@@ -6,7 +6,7 @@ erased again by the user.</para>
 that on erase, only the first two sectors are actually cleared. The following example shows how to read the remaining data:
 </para>
 
-<example id="skytraq-restore-erased">
+<example xml:id="skytraq-restore-erased">
   <title>Command showing how to read data from an erased device</title>
   <para><userinput>gpsbabel -i skytraq,first-sector=2 -f /dev/ttyUSB0 -o gpx -F out.gpx</userinput></para>
 </example>
index 1eef86a8558e37e3d751c7bea8912e0b4ca403b8..5cfb004c0ea6a73c7071c9d98696729d751dfe51 100644 (file)
@@ -14,5 +14,5 @@ Indicates that GPS is ahead of UTC by fifteen seconds, as was the case in 2009.
 </para>
 
 <para>
-Consult formal explanation of <ulink url="http://tycho.usno.navy.mil/leapsec.html">GPS time vs. UTC time</ulink> if you're into that.
+Consult formal explanation of <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://tycho.usno.navy.mil/leapsec.html">GPS time vs. UTC time</link> if you're into that.
 </para>
index 131445a6bcc9cf8607c724c17f0d2a50e83b947f..d3a1651f62a304e2cdaaa8318f5f9b7578242c1d 100644 (file)
@@ -4,7 +4,7 @@ we're currently in: skytraq log data contains dates in the form of GPS weeks,
 which roll over to 0 every 1024 weeks (close to 20 years).
 </para>
 
-<table id="gps_week_rollovers">
+<table xml:id="gps_week_rollovers">
 <title>GPS week rollover dates</title>
 <tgroup cols="2">
 <thead>
index 7283235cb6f8d7e9c99947246ee82085bc4e1624..91700ecd7d8f9e746d620be490017bcbaffe7088 100644 (file)
@@ -1,4 +1,4 @@
-<para>If <userinput>read-at-once</userinput> >= 1, batch mode is enabled with that many sectors being read at a time.
+<para>If <userinput>read-at-once</userinput> &gt;= 1, batch mode is enabled with that many sectors being read at a time.
 A value of zero disables batch mode and switches to single read mode. Not all devices support batch mode; in that case
 gpsbabel automatically switches to single read mode.</para>
 
index e987dcdebb20b7d2458fb61183316b4dd2e7e999..db19cbf869dba1b295b9d9fc35327280af35e7c9 100644 (file)
@@ -5,7 +5,7 @@
   and longitude. Note that GPSBabel terminates after writing the location info
   to the device, i.e. no logging data will be read from it.
 </para>
-<example id="skytraq-targetlocation">
+<example xml:id="skytraq-targetlocation">
   <title>Set the target location of the Skytraq location finder</title>
   <para>
        <userinput>gpsbabel -i skytraq,targetlocation=12.34:-56.78 -f /dev/ttyUSB
@@ -18,4 +18,3 @@
        it has a satellite fix.
  </para>
 </example>
-
index c6f1054e54ae9d52d1086eb7af6ab34a02c6acce..c2ba4ca90d8ee58939f7c7fa8cd725373ebc9584 100644 (file)
@@ -1,7 +1,7 @@
 <para>
        Format for output subtitles.
 </para>
-<table id="subrip_format">
+<table xml:id="subrip_format">
 <title>Supported format characters for subrip</title>
 <tgroup cols="2">
 <thead>
index 6ca7fcd49201fd241d76b62bff974d8b4b021d68..041cadd7806a29edb3b91c458de302b12b53d9c0 100644 (file)
@@ -2,7 +2,7 @@
   Splits output into separate files for each waypoint by appending a
   decimal number to the output filename.
 </para>
-<example id="text_splitoutput">
+<example xml:id="text_splitoutput">
   <title>Example for splitoutput option to text format</title>
   <para>
     If "MyPQ.gpx" contains five waypoints,
index 7a63f31ba9207f734968d97bd0d5c2a8a5807de3..8e5af9afd8f4cb16fd4d9a0c0106afbfc4a3bbee 100644 (file)
@@ -3,4 +3,3 @@ the default of NAD27 ("N. America 1927 mean") which is correct for the
 continental U.S.</para> <para>Any legal <link linkend="Datums">datum supported
 by GPSBabel</link> may be used.  For example, points in Hawaii should
 use "Old Hawaiian_mean".</para>
-
index 80b85eae7737001aa35482b57cdf54254ab1908a..2899fbbd30087e72982ea1f81f46f0436741b906 100644 (file)
@@ -1,4 +1,4 @@
 <para>
    This option specifies the datum to be used on output. Valid values for this
-   option are listed in <xref linkend="Datums" />.
+   option are listed in <xref linkend="Datums"/>.
 </para>
index f214928483740f386fa436c1f9e2d7aa07659fdf..73640eb2a0e088cef887f84f8a133aeb9e3b7445 100644 (file)
@@ -6,7 +6,7 @@ The list of field names is exactly that allowed in the first line of a
 unicsv file without this option.
 </para>
 
-<example id="unicsv_fields">
+<example xml:id="unicsv_fields">
   <title>Example for unicsv fields option to describe input file.</title>
   <para>
     For example ...
index e49c748a22d20ae44d1a4430c0a590d78d2465fc..c5f10649c11786fa4a2adea86034a47a66664c90 100644 (file)
@@ -6,7 +6,7 @@
   This can be very helpful for locating specific waypoints (i.e. using the position filter)
   in more than one file.
 </para>
-<example id="unicsv_filename">
+<example xml:id="unicsv_filename">
   <title>Example for unicsv filename option to write filenames of input formats.</title>
   <para>
     The next example ...
index 58b1916bbf6d667c7ba9aa3b89c455df09f114ce..53cc23327f9eaa212941b97290f918823524196d 100644 (file)
@@ -2,7 +2,7 @@
   When this option is enabled, we generate an additional 'Format' column.
   The values of this column are filled with names of previous input formats.
 </para>
-<example id="unicsv_format">
+<example xml:id="unicsv_format">
   <title>Example for unicsv format option to write names of input formats.</title>
   <para>
     The next example ...
@@ -19,4 +19,3 @@
     </simplelist>
   </para>
 </example>
-
index 7d6cab0a4738f9d4cf026507d83bc79d23b01571..65f1fff1b45aee55076775772770c0cb418311df 100644 (file)
@@ -1,6 +1,6 @@
 <para>
    This value specifies the grid to be used on write. It is similar to
-   the grid option of garmin_txt (see <xref linkend="garmin_grid" />). The only difference is that unicsv does not
+   the grid option of garmin_txt (see <xref linkend="garmin_grid"/>). The only difference is that unicsv does not
    write a degree sign (°) into the output file.
 </para>
 <para>
index 1ba2851e224e87afb7090e39ea7de22c0dd806be..7a5eef15ad88d40d44bf1c96fe628892e4704779 100644 (file)
@@ -1,4 +1,3 @@
 <para>
 By default geocaching hints are unencrypted; use this option to encrypt them.
 </para>
-
index ea17ec5fada98b94f66c549884ff912bd2a86dcf..8580cd701cd9b1263edf5244589111576ba4cee8 100644 (file)
@@ -1,4 +1,4 @@
 <para>
 This option specifies the GPS datum to be used on read or write. Valid values for this
-option are listed in <xref linkend="Datums" />.
+option are listed in <xref linkend="Datums"/>.
 </para>
index 9318463ce36300879b2389ba4a1f33db4c2fe7b7..9a296f683b59dad8c7133ee7d82c7272e0fa9062 100644 (file)
@@ -5,4 +5,3 @@ output.  This option overrides the style file.
 <para>
 Valid values for this option are 0 (off) and 1 (on).
 </para>
-
index 1687cbec1a14b82a4cf0a6ea5fdb7189ce2f81ce..746bec42cc84a62df6fe772d51b3d7a339dc807f 100644 (file)
@@ -5,4 +5,3 @@ unique within the output file.  This option overrides the style file.
 <para>
 Valid values for this option are 0 (off) and 1 (on).
 </para>
-
index 99400ee9170d27a0f91be31adc45658ed30ccdb3..50c40be0fbcefb9141107dfdeb88611483e10d93 100644 (file)
@@ -5,4 +5,3 @@ only UPPERCASE characters.  This option overrides the style file.
 <para>
 Valid values for this option are 0 (off) and 1 (on).
 </para>
-
index 815467fbbf87ae9a7f7de6cb8f4ce616c3379b82..02c90283cb9ff0a795230129a042379dc90f0de7 100644 (file)
@@ -5,6 +5,5 @@ built-in xcsv-based styles; they have prebuilt style definitions.
 </para>
 <para>
 For information on the format of xcsv style files, see
-<xref linkend="Styles" />.
+<xref linkend="Styles"/>.
 </para>
-
index 0dc4d3bf32c3324cd4893e38add7b1f3c6513310..08bb6dfa06c27d642b4f1a275517d706ba9d40eb 100644 (file)
@@ -1,11 +1,11 @@
 <para>
-  This format is used to exchange data with the <ulink url="http://www.openstreetmap.org">OpenStreetMap</ulink> project.
+  This format is used to exchange data with the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.openstreetmap.org">OpenStreetMap</link> project.
   The main goal of this collaborative project is to create free editable maps.
 </para>
 <para>
   These data files are XML based. Every GPS element (way or node) described by the files has a unique
   number as identifier. When we write OSM data files and don't know something about the id's,
-  negative numbers will be used as identifier. This has been tested with <ulink url="http://wiki.openstreetmap.org/index.php/JOSM">JOSM</ulink>.
+  negative numbers will be used as identifier. This has been tested with <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://wiki.openstreetmap.org/index.php/JOSM">JOSM</link>.
 </para>
 <para>
   Because the resulting timestamps of OSM ways differ from real GPS tracks,
index 7adb91fd43526b7feb3a0360286df6db0875fe64..d748112d65c183e2b14f507255e12c1816978582 100644 (file)
@@ -10,7 +10,7 @@
        Not all data logged in this format is converted by GPSBabel,
        but the following are:
 
-<simplelist columns="3">
+<simplelist columns="3" type="vert">
        <member>Position</member>
        <member>Elevation</member>
        <member>Time</member>
@@ -24,7 +24,7 @@
 
 <para>
        The specification of this format can be found in
-       the <ulink url="http://www.navmanwirelessoem.com/oem/customer-support/oem-news/product-briefs-and-data-sheets/jupiter-32-xlp-new2/sirf-binary-protocol-reference-manual">
-       SiRF Binary Protocol Reference Manual</ulink>, in the section
+       the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.navmanwirelessoem.com/oem/customer-support/oem-news/product-briefs-and-data-sheets/jupiter-32-xlp-new2/sirf-binary-protocol-reference-manual">
+       SiRF Binary Protocol Reference Manual</link>, in the section
        called Geodetic Navigation Data - Message ID 41.
 </para>
index 6c9d90260470435b0eae319b2b9b76c2db1dd032..2e828b40c09b9924c61193eca8ba3358dd6885ee 100644 (file)
@@ -6,7 +6,7 @@ use this format to read its memory.</para>
 <para>Following a list of devices which should be supported by this module
 (Note that not all of them have actually been tested, so if you can confirm that additional models work, please mail the gpsbabel-misc group with your success, tips, and any pertinent links for your model.):</para>
 
-<table id="skytraq_devices">
+<table xml:id="skytraq_devices">
 <title>Devices supported by skytraq module</title>
 <tgroup cols="4">
 <thead>
@@ -77,12 +77,12 @@ use this format to read its memory.</para>
 </table>
 <para>Windows users of GPSBabel version 1.5.2 or less may have to explicitly specifiy a bit rate of 115200 or lower.</para>
 
-<example id="skytraq-on-linux">
+<example xml:id="skytraq-on-linux">
   <title>Command showing skytraq download of tracks and erasing the logger on Linux</title>
   <para><userinput>gpsbabel -i skytraq,erase -f /dev/ttyUSB0 -o gpx -F out.gpx</userinput></para>
 </example>
 
-<example id="skytraq-erase">
+<example xml:id="skytraq-erase">
   <title>Command showing skytraq erasing the logger without download on Linux</title>
   <para><userinput>gpsbabel -i skytraq,erase,no-output -f /dev/ttyUSB0</userinput></para>
 </example>
@@ -90,7 +90,7 @@ use this format to read its memory.</para>
 <para>If available, reading the logger using bluetooth should also work. However, many devices support only one
 specific baud rate over bluetooth, e.g. 9600. In that case you should use the option <userinput>baud=0</userinput>
 to tell GPSBabel to use that default baud rate:</para>
-<example id="skytraq-on-linux-bt">
+<example xml:id="skytraq-on-linux-bt">
   <title>Command showing skytraq download tracks via bluetooth on Linux</title>
   <para><userinput>rfcomm bind 0 &lt;bdaddr&gt;</userinput></para>
   <para><userinput>gpsbabel -i skytraq,baud=0 -f /dev/rfcomm0 -o gpx -F out.gpx</userinput></para>
index 886d318e9ef7f251d12ad4365e2cac8e7cebade5..19929c7f7905258d2c4e0230c57c48469c174a9b 100644 (file)
@@ -3,10 +3,9 @@ This format, like the <link linkend="fmt_custom">custom</link> format, is
 mainly used for the purpose of testing GPSBabel.  It is supposed to contain
 one field for each piece of information supported by the
 <link linkend="fmt_xcsv">xcsv</link> format writer, but it may not be entirely
-in sync with the documentation at <xref linkend="Styles" />.
+in sync with the documentation at <xref linkend="Styles"/>.
 </para>
 <para>
 For a list of fields, see the style/tabsep.style file in the GPSBabel source
 distribution.
 </para>
-
index c429b249362141834d082c81486cd0974f350bb3..e31adbe6d3616e69486bc1cebf6f4a20c098de3e 100644 (file)
@@ -5,4 +5,3 @@ handy for listings of any type of waypoint files.
 Groundspeak extensions and writes a text file with encrypted hints:
 </para>
 <para><userinput>gpsbabel -i gpx -f 12345.gpx -o text,encrypt -F 12345.txt</userinput></para>
-
index 71e37f3adcb6c4ca25e396afa6e6892303d2ef3e..f5447e297d774794296abed694ac7e972c985ab5 100644 (file)
@@ -5,4 +5,3 @@
 reads and writes .TPG files created by various editions of NG Topo!
 Reading/writing of route data is not supported yet.</para>
 <para>Contributed by Alex Mottram.</para>
-
index 237d8c07717e934d35daea1c5847678a8ebf7bbd..d3dfb765b9c4a6c785c8d84c338627dd210e945b 100644 (file)
@@ -5,5 +5,3 @@
 <para>
        Contributed by Steve Chamberlin.
 </para>
-
-
index ce5d0ff405c978d085500550972cf19ecbc74ed4..20274eb72f8513a9dd2a14be7f3ad3dd9a011d12 100644 (file)
@@ -3,4 +3,3 @@
 text notes.  The latter three are converted to waypoints.</para>
 
 <para>Contributed by Curt Mills.</para>
-
index 333baf0de5cf9b7435733ba62b4ddde97cc884cf..69e3f3f1055b8aa96fe5ac042cd5c5abb72a479e 100644 (file)
@@ -10,7 +10,7 @@
 </para>
 <para>
    The list of keywords include:
-   <screen format="linespecific">
+   <screen>
       alt =      Elevation (in meters) of the point. Add "ft" or "feet" for feet.
       arch =     <link linkend="style_def_isarchived">Geocache archived flag</link>
       avail =    <link linkend="style_def_isavailable">Geocache available flag</link>
@@ -78,9 +78,9 @@
    <link linkend="fmt_gpx">gpx</link>, <link linkend="fmt_gdb">gdb</link>,
    <link linkend="fmt_garmin_gpi">garmin_gpi</link> and partly
    <link linkend="fmt_garmin_txt">garmin_txt</link>. These entities are currently
-   not visible in <productname>MapSource</productname> (6.12.4), but are NOT dropped
+   not visible in <trademark>MapSource</trademark> (6.12.4), but are NOT dropped
    when working with GDB (version 3) or GPX files.
-   <screen></screen>
+   <screen/>
    Please note, that these do NOT provide a geocoding service; don't expect
        to "convert" a street address to a latitude and longitude.
    <screen>
 </para>
 <para>
    A typical file may be:
-   <screen format="linespecific">
+   <screen>
      Name, Latitude, Longitude, Description
      GCEBB,35.972033,-87.134700,Mountain Bike Heaven by susy1313
      GC1A37,36.090683,-86.679550,The Troll by a182pilot &amp; Family
    </screen>
 </para>
 <para>
-   If processing data from the UK, GPSBabel can process coordinates using X,Y values (often referred to as Eastings/Northings) as shown in <xref linkend="uk_unicsv_1" /> or the full 12 figure alpha numeric, as shown in <xref linkend="uk_unicsv_2" />.
-   Note in <xref linkend="uk_unicsv_2" /> you need to split your original X,Y values into the 100Km 2 character code,
+   If processing data from the UK, GPSBabel can process coordinates using X,Y values (often referred to as Eastings/Northings) as shown in <xref linkend="uk_unicsv_1"/> or the full 12 figure alpha numeric, as shown in <xref linkend="uk_unicsv_2"/>.
+   Note in <xref linkend="uk_unicsv_2"/> you need to split your original X,Y values into the 100Km 2 character code,
    eastings and northing values.
-   <example id="uk_unicsv_1">
+   <example xml:id="uk_unicsv_1">
      <title>CSV input for UK data with XY coordinates</title>
-     <screen format="linespecific">
+     <screen>
        bng_e,bng_n,name,date
        353729,177210,id_001,2018/02/03
        356025,181221,id_002,2018/02/03
        357962,181528,id_003,2018/03/03
      </screen>
    </example>
-   <example id="uk_unicsv_2">
+   <example xml:id="uk_unicsv_2">
      <title>CSV input for UK data with alphanumeric coordinates</title>
-     <screen format="linespecific">
+     <screen>
        bng_z,bng_e,bng_n,name,date
        ST,53729,77210,id_001,2018/02/03
        ST,56025,81221,id_002,2018/02/03
 </para>
 <para>
    With at least ONE valid timestamp in data a unicsv output may look like that:
-   <screen format="linespecific">
+   <screen>
      No,Name,Latitude,Longitude,Description,Date,Time
      1,"GCEBB",35.972033,-87.134700,"Mountain Bike Heaven by susy1313",2003/06/29,09:00:00
      2,"GC1A37",36.090683,-86.679550,"The Troll by a182pilot &amp; Family",,
index 0124e11d895cf52c6bcfc935332bbff6c12965ca..0958f25c9797e9f8ab17c0f2b77eda35278dda08 100644 (file)
@@ -1,12 +1,12 @@
-<para>Read-only support for the csv file format used by <productname>Visiontac VGPS-900</productname> and <productname>Columbus V-900</productname> GPS data loggers. These seem to be two brand names for the exact same product.</para>
+<para>Read-only support for the csv file format used by <trademark>Visiontac VGPS-900</trademark> and <trademark>Columbus V-900</trademark> GPS data loggers. These seem to be two brand names for the exact same product.</para>
 
 <para>The the V-900 stores logs on a microSD card in a custom csv format. This format contains NULL characters and fixed length fields, and therefore can not  be handled by the normal csv module in GPSBabel.</para>
 
 <para>
-<ulink url="http://www.visiontac.com/v900_specs.htm">Visiontac VGPS-900</ulink>
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.visiontac.com/v900_specs.htm">Visiontac VGPS-900</link>
 </para>
 
-<example id="v900_e1">
+<example xml:id="v900_e1">
   <title>Conversion of a v900 csv log file to a gpx format</title>
   <para><userinput>gpsbabel -i v900 -f 09040400.csv -o gpx -F outfile.gpx</userinput></para>
 </example>
@@ -19,8 +19,7 @@ The device support logging of trackpoints, waypoints, and voice recordings (.wav
 If you happen to use this for OpenStreetMap.org project, you can easily click on a waypoint and open the wav file from within JOSM. For this you must use gpx version 1.1 as the output file. The next example shows exactly how to do that.
 </para>
 
-<example id="v900_e2">
+<example xml:id="v900_e2">
   <title>Conversion of a v900 csv log file to a gpx 1.1 format</title>
   <para><userinput>gpsbabel -i v900 -f 09040400.csv -o gpx,gpxver=1.1 -F outfile.gpx</userinput></para>
 </example>
-
index 6e76b032d0deb678b25e1180a18399db5e09db91..2b0447734432f65c9269ee902ba525001fc52b70 100644 (file)
@@ -10,4 +10,3 @@ into the iPod 'Contacts' folder. As an alternative, Mac OS X users may
 prefer to drag the VCF file into their address book and synchronize
 with the iPod using iSync.
 </para>
-
index 86782266477f5436a8b3ccde85cde61e189e7fd2..3d3839b8c5c690dd154afab7eebac83c2876ff4d 100644 (file)
@@ -1,12 +1,11 @@
-<para>File protocol for the <productname>Wintec WBT-200</productname>
-and <productname>Wintec WBT-201</productname> (sometimes called the <productname> G-Rays 2</productname>)GPS data loggers. This format reads the binary file format created
+<para>File protocol for the <trademark>Wintec WBT-200</trademark>
+and <trademark>Wintec WBT-201</trademark> (sometimes called the <trademark> G-Rays 2</trademark>)GPS data loggers. This format reads the binary file format created
 by Wintec's Windows application.</para>
 <para>
-<ulink url="http://www.semsons.com/wiwbmu3gpsre2.html">Wintec WBT-201 </ulink>
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.semsons.com/wiwbmu3gpsre2.html">Wintec WBT-201 </link>
 </para>
-<example id="wbt-bin-on-macos">
+<example xml:id="wbt-bin-on-macos">
   <title>Command showing conversion of a Wintec binary file to GPX</title>
   <para><userinput>gpsbabel -i wbt-bin -f tracks.bin -o
 gpx -F out.gpx</userinput></para>
 </example>
-
index 4fba4bca0a72945b2c1f26d888ba42e74e4acbf0..f3d0c02229421fd629230c039ac5ca37472eafa4 100644 (file)
@@ -1,11 +1,10 @@
-<para>File protocol for the <productname>Wintec WBT-201 / G-Rays 2</productname>
+<para>File protocol for the <trademark>Wintec WBT-201 / G-Rays 2</trademark>
 GPS data logger. This format reads the binary file format created
 by Wintec's Time Machine X application.</para>
 <para>
-<ulink url="http://www.semsons.com/wiwbmu3gpsre2.html">Wintec WBT-201</ulink>
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.semsons.com/wiwbmu3gpsre2.html">Wintec WBT-201</link>
 </para>
-<example id="wbt-tk1">
+<example xml:id="wbt-tk1">
   <title>Command showing conversion of a Wintec binary file to GPX</title>
   <para><userinput>gpsbabel -w -t -i wbt-tk1 -f tracks.tk1 -o gpx -F out.gpx</userinput></para>
 </example>
-
index 2e5f08a964dbd43b208b441a52c66d148479cac3..8205d64f02e0fa884bbc3a5fa62d954de654716b 100644 (file)
@@ -1,12 +1,12 @@
 <para>Serial download protocol for the
-<productname>Wintec WBT-200</productname>  and
-<productname>Wintec WBT-201</productname>
-<productname>Wintec WBT-1000</productname>
+<trademark>Wintec WBT-200</trademark>  and
+<trademark>Wintec WBT-201</trademark>
+<trademark>Wintec WBT-1000</trademark>
 GPS data loggers. Although untested it is expected that this will also support the WBT-100.</para>
 <para>
-<ulink url="http://www.semsons.com/wiwbmu3gpsre2.html">Wintec WBT-201</ulink>
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.semsons.com/wiwbmu3gpsre2.html">Wintec WBT-201</link>
 </para>
-<example id="wbt-on-macos">
+<example xml:id="wbt-on-macos">
   <title>Command showing WBT-200 download and erase over Bluetooth on Mac OS X</title>
   <para><userinput>gpsbabel -t -w -i wbt,erase -f /dev/cu.WBT200-SPPslave-1 -o gpx -F out.gpx</userinput></para>
 </example>
@@ -16,12 +16,12 @@ Internally, this is actually a serial device that has a serial/USB adapter
 built into it.  It uses the CP210x chip by Silicon labs.   You will probably
 need a driver for this chip.  The product ships with one for Windows.
 The Linux 210x driver seems to work fine.  Mac users will need to download
-the <ulink url="http://www.silabs.com/tgwWebApp/public/web_content/products/Microcontrollers/USB/en/mcu_vcp.htm">Mac driver for CP210x</ulink>.
+the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.silabs.com/tgwWebApp/public/web_content/products/Microcontrollers/USB/en/mcu_vcp.htm">Mac driver for CP210x</link>.
 </para>
 
 <para>
 GPSBabel does not try to offer an interface to configure these units. That
 is left to the Windows software that comes with it or tools like the
-<ulink url="http://www.daria.co.uk/gps">WBT 201 Viewer</ulink> for Mac OS/X
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.daria.co.uk/gps">WBT 201 Viewer</link> for Mac OS/X
 and Linux.
 </para>
index 88f55dfefe517b90d2070f05dc851cb05c2c93fd..283cb719b06a5c67b9a92123f0b3747a316ea3a1 100644 (file)
@@ -11,4 +11,3 @@ with the obvious exception of the <option>style</option> option.
 Those formats are all based on style files that can be found in
 the "style" directory in the GPSBabel source distribution.
 </para>
-
index 9c8a1049ed22c0d30fad8ffb591891a67389f91c..479e39f61d6e0d4751465a24cc4b20c787a772a4 100755 (executable)
@@ -76,13 +76,21 @@ sub include {
     my $d2 = $dir2;
     $d2 =~ s:/.*::;
     $name2 = $d2 . '_' . $name2;
-    print $parts qq(<!ENTITY inc_$name2 SYSTEM "../$dir2/$name.xml">\n);
-    print $file "\&inc_$name2;\n";
+
+    #print $parts qq(<!ENTITY inc_$name2 SYSTEM "../$dir2/$name.xml">\n);
+    #print $file "\&inc_$name2;\n";
     if ( !-e "$dir/$dir2/$name.xml" ) {
-        open my $tmp, '>', "$dir/$dir2/$name.xml" or die $!;
+        open my $tmp, '>:encoding(UTF-8)', "$dir/$dir2/$name.xml" or die $!;
         print $tmp "\n";
         close $tmp;
     }
+    open my $tmp2, '<:encoding(UTF-8)', "$dir/$dir2/$name.xml" or die $!;
+    print $file qq(<!-- BEGIN inclusion of $dir/$dir2/$name.xml -->\n);
+    while (<$tmp2>) {
+        print $file $_;
+    }
+    print $file qq(<!-- END inclusion of $dir/$dir2/$name.xml -->\n);
+    close $tmp2;
 }
 
 sub includef {
@@ -100,12 +108,12 @@ qx(mkdir -p $dir/autogen);
 if ( $? != 0 ) {
     die "error creating autogen directory: $?";
 }
-open $parts, '>', "$dir/autogen/_parts.xml" or die $!;
+open $parts, '>:encoding(UTF-8)', "$dir/autogen/_parts.xml" or die $!;
 print $parts qq(<!-- This document is automatically generated. -->\n);
 print $parts qq(<!ENTITY formats SYSTEM "_formats.xml">\n);
 print $parts qq(<!ENTITY filters SYSTEM "_filters.xml">\n);
 
-open $formats, '>', "$dir/autogen/_formats.xml" or die $!;
+open $formats, '>:encoding(UTF-8)', "$dir/autogen/_formats.xml" or die $!;
 print $formats qq(<!-- This document is automatically generated. -->\n);
 
 my @formats = qx(./gpsbabel -^3);
@@ -186,10 +194,10 @@ for (@formats) {
             $fmts{$id} = 1;
         }
         includef( 'fmt_' . $id );
-        open $file, '>', "$dir/autogen/fmt_$id.xml" or die $!;
+        open $file, '>:encoding(UTF-8)', "$dir/autogen/fmt_$id.xml" or die $!;
         print $file <<END;
 <!-- This document is automatically generated. -->
-<section id="fmt_$id">
+<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="fmt_$id">
   <title>$line[4] ($line[2])</title>
 END
         print $file expandoptions( $line[1] );
@@ -213,7 +221,7 @@ END
     elsif ( $going && $dooptions && ( $line[0] eq 'option' ) ) {
         my $nid = 'fmt_' . $id . '_o_' . $line[2];
         print $file <<END;
-  <section id="$nid">
+  <section xml:id="$nid">
     <title><option>$line[2]</option> option</title>
     <para>
       $line[3].
@@ -233,7 +241,7 @@ if ($going) {
 }
 
 close $formats;
-open $formats, '>', "$dir/autogen/_filters.xml" or die $!;
+open $formats, '>:encoding(UTF-8)', "$dir/autogen/_filters.xml" or die $!;
 print $formats qq(<!-- This document is automatically generated. -->\n);
 
 my @filters = qx(./gpsbabel -%1);
@@ -252,7 +260,7 @@ for (@filters) {
 
     if ( $going && ( $line[0] eq 'option' ) ) {
         print $file <<END;
-  <section id="fmt_$line[1]_o_$line[2]">
+  <section xml:id="flt_$line[1]_o_$line[2]">
     <title>$line[2] option</title>
     <para>
       $line[3].
@@ -269,10 +277,10 @@ END
             close $file;
         }
         includef( 'filter_' . $line[0] );
-        open $file, '>', "$dir/autogen/filter_$line[0].xml" or die $!;
+        open $file, '>:encoding(UTF-8)', "$dir/autogen/filter_$line[0].xml" or die $!;
         print $file <<END;
 <!-- This document is automatically generated. -->
-<section id="filter_$line[0]">
+<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="filter_$line[0]">
   <title>$line[1] ($line[0])</title>
 END
         include( $line[0], "filters" );
index e46f2df11e81087759e7b34f3302141f23d51f1d..18a0efb70f08c9fbea4856d02e6443b007ff677b 100644 (file)
@@ -1,7 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
+<!DOCTYPE book
 [
   <!ENTITY % parts SYSTEM "autogen/_parts.xml">
   %parts;
@@ -9,11 +7,8 @@
   %chaps;
 ]
 >
-
-<book id="GPSBabel_Documentation_Book">
-  <bookinfo>
-    <title>GPSBabel Documentation</title>
-  </bookinfo>
+<book xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="GPSBabel_Documentation_Book">
+  <info><title>GPSBabel Documentation</title></info>
 
   &allchapters;
 
diff --git a/xmldoc/tmissue.xsl b/xmldoc/tmissue.xsl
new file mode 100644 (file)
index 0000000..eb50696
--- /dev/null
@@ -0,0 +1,11 @@
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output method="xml" omit-xml-declaration="yes" />
+    <xsl:template match="@*|node()">
+        <xsl:copy>
+            <xsl:apply-templates select="@*|node()" />
+        </xsl:copy>
+    </xsl:template>
+    <xsl:template match="productname">
+        <trademark><xsl:apply-templates select="@*|node()" /></trademark>
+    </xsl:template>
+</xsl:stylesheet>